| <?xml version='1.0' encoding='UTF-8'?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| |
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> |
| <parent> |
| <artifactId>maven-plugins</artifactId> |
| <groupId>org.apache.maven.plugins</groupId> |
| <version>11</version> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| <artifactId>maven-war-plugin</artifactId> |
| <packaging>maven-plugin</packaging> |
| <name>Maven War Plugin</name> |
| <version>2.1-alpha-2</version> |
| |
| <scm> |
| <connection>scm:svn:http://svn.apache.org/repos/asf/maven/plugins/tags/maven-war-plugin-2.1-alpha-2</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-war-plugin-2.1-alpha-2</developerConnection> |
| <url>http://svn.apache.org/viewvc/maven/plugins/tags/maven-war-plugin-2.1-alpha-2</url> |
| </scm> |
| |
| <prerequisites> |
| <maven>2.0.6</maven> |
| </prerequisites> |
| <issueManagement> |
| <system>JIRA</system> |
| <url>http://jira.codehaus.org/browse/MWAR</url> |
| </issueManagement> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-plugin-api</artifactId> |
| <version>2.0.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-artifact</artifactId> |
| <version>2.0.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven</groupId> |
| <artifactId>maven-archiver</artifactId> |
| <version>2.3</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-archiver</artifactId> |
| <version>1.0-alpha-9</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-container-default</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-io</artifactId> |
| <version>1.0-alpha-1</version> |
| <exclusions> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-container-default</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-component-api</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.thoughtworks.xstream</groupId> |
| <artifactId>xstream</artifactId> |
| <version>1.2.2</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>1.5.5</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-filtering</artifactId> |
| <version>1.0-beta-1</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.plugin-testing</groupId> |
| <artifactId>maven-plugin-testing-harness</artifactId> |
| <version>1.2</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-plugin-plugin</artifactId> |
| <version>2.4.2</version> |
| </plugin> |
| <plugin> |
| <artifactId>maven-site-plugin</artifactId> |
| <version>2.0-beta-7</version> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <reporting> |
| <plugins> |
| <plugin> |
| <artifactId>maven-project-info-reports-plugin</artifactId> |
| <version>2.1</version> |
| </plugin> |
| </plugins> |
| </reporting> |
| |
| <profiles> |
| <profile> |
| <id>run-its</id> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <version>1.2</version> |
| <configuration> |
| <projectsDirectory>src/it</projectsDirectory> |
| <pomIncludes> |
| <pomInclude>**/pom.xml</pomInclude> |
| </pomIncludes> |
| <pomExcludes> |
| <pomExclude>MWAR-143/war-common/pom.xml</pomExclude> |
| <pomExclude>MWAR-143/war-filter-overlay/pom.xml</pomExclude> |
| <pomExclude>MWAR-131/mwar131-test/pom.xml</pomExclude> |
| <pomExclude>MWAR-131/mwar131-webapp/pom.xml</pomExclude> |
| <pomExclude>MWAR-131/mwar131-webapp2/pom.xml</pomExclude> |
| <pomExclude>**/META-INF/**/pom.xml</pomExclude> |
| </pomExcludes> |
| <postBuildHookScript>verify.bsh</postBuildHookScript> |
| <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> |
| <goals> |
| <goal>clean</goal> |
| <goal>package</goal> |
| </goals> |
| <settingsFile>src/it/settings.xml</settingsFile> |
| <cloneProjectsTo>${project.build.directory}/its</cloneProjectsTo> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <goals> |
| <goal>install</goal> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- TODO: Remove this plugin execution once MINVOKER-43 is released --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>it-preparation</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>install-file</goal> |
| </goals> |
| <configuration> |
| <file>${project.build.directory}/${project.build.finalName}.jar</file> |
| <groupId>${project.groupId}</groupId> |
| <artifactId>${project.artifactId}</artifactId> |
| <version>${project.version}</version> |
| <packaging>${project.packaging}</packaging> |
| <pomFile>${basedir}/pom.xml</pomFile> |
| <createChecksum>true</createChecksum> |
| <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath> |
| <!-- NOTE: must match identifier of real local repository or metadata lookup during ITs will misbehave --> |
| <localRepositoryId>local</localRepositoryId> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |