| <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>8</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-1</version> |
| <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.2</version> |
| </dependency> |
| <dependency> |
| <groupId>org.codehaus.plexus</groupId> |
| <artifactId>plexus-utils</artifactId> |
| <version>1.4.7</version> |
| </dependency> |
| <dependency> |
| <groupId>com.thoughtworks.xstream</groupId> |
| <artifactId>xstream</artifactId> |
| <version>1.2.2</version> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>3.8.1</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.maven.shared</groupId> |
| <artifactId>maven-plugin-testing-harness</artifactId> |
| <version>1.1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <profiles> |
| <profile> |
| <id>integration-tests</id> |
| <activation> |
| <property> |
| <name>maven.test.skip</name> |
| <value>!true</value> |
| </property> |
| </activation> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-install-plugin</artifactId> |
| <version>2.2</version> |
| <executions> |
| <execution> |
| <id>integration-test</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> |
| <localRepositoryId>it-local-repo</localRepositoryId> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-invoker-plugin</artifactId> |
| <version>1.0</version> |
| <configuration> |
| <projectsDirectory>src/it</projectsDirectory> |
| <pomIncludes> |
| <pomInclude>**/**/pom.xml</pomInclude> |
| </pomIncludes> |
| <postBuildHookScript>verify.bsh</postBuildHookScript> |
| <localRepositoryPath>${basedir}/target/local-repo</localRepositoryPath> |
| </configuration> |
| <executions> |
| <execution> |
| <id>integration-test</id> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>run</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| <!-- TODO: remove when plexus-utils is released --> |
| <!--repositories> |
| <repository> |
| <id>codehaus.snapshots</id> |
| <url>http://snapshots.repository.codehaus.org/</url> |
| <releases> |
| <enabled>false</enabled> |
| </releases> |
| </repository> |
| </repositories--> |
| |
| <scm> |
| <connection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-war-plugin-2.1-alpha-1</connection> |
| <developerConnection>scm:svn:https://svn.apache.org/repos/asf/maven/plugins/tags/maven-war-plugin-2.1-alpha-1</developerConnection> |
| <url>https://svn.apache.org/repos/asf/maven/plugins/tags/maven-war-plugin-2.1-alpha-1</url> |
| </scm> |
| </project> |