<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"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>npanday.its</groupId> | |
<artifactId>npanday-its</artifactId> | |
<version>1.2</version> | |
<name>NPanday Integration Tests Parent</name> | |
<!-- | |
By default, the project just packages the tests in an artifact. To actually run them, activate the profile "run-its": | |
mvn clean test -Prun-its | |
This will subject the NPanday version that matches the current ITs to the integration tests. | |
If you would like to test a different NPanday distribution, you can use the system property "npanday.version" to specify | |
the version to test: | |
mvn clean test -Prun-its -Dnpanday.version=1.1 | |
--> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<skip>true</skip> | |
<systemProperties> | |
<property> | |
<name>npanday.version</name> | |
<value>${npanday.version}</value> | |
</property> | |
<property> | |
<name>npanday.version.force</name> | |
<value>${npanday.version.force}</value> | |
</property> | |
<property> | |
<name>debug.maven</name> | |
<value>${debug.maven}</value> | |
</property> | |
</systemProperties> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-jar-plugin</artifactId> | |
<executions> | |
<execution> | |
<goals> | |
<goal>test-jar</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-release-plugin</artifactId> | |
<configuration> | |
<tagBase>https://npanday.svn.codeplex.com/svn/npanday-its/releases/</tagBase> | |
<systemProperties> | |
<property> | |
<name>npanday.version</name> | |
<value>${npanday.version}</value> | |
</property> | |
</systemProperties> | |
</configuration> | |
</plugin> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-compiler-plugin</artifactId> | |
<configuration> | |
<source>1.5</source> | |
<target>1.5</target> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
<dependencies> | |
<dependency> | |
<groupId>org.apache.maven.shared</groupId> | |
<artifactId>maven-verifier</artifactId> | |
<version>1.2</version> | |
</dependency> | |
<dependency> | |
<groupId>org.apache.maven</groupId> | |
<artifactId>maven-artifact</artifactId> | |
<version>2.0</version> | |
</dependency> | |
</dependencies> | |
<properties> | |
<npanday.version>${project.version}</npanday.version> | |
<npanday.snapshots.url>http://repo.npanday.org/archiva/repository/npanday-snapshots</npanday.snapshots.url> | |
<npanday.releases.url>http://repo.npanday.org/archiva/repository/npanday-releases</npanday.releases.url> | |
</properties> | |
<scm> | |
<url>https://npanday.svn.codeplex.com/svn/npanday-its/releases/npanday-its-1.2</url> | |
<connection>scm:svn:https://npanday.svn.codeplex.com/svn/npanday-its/releases/npanday-its-1.2</connection> | |
<developerConnection>scm:svn:https://npanday.svn.codeplex.com/svn/npanday-its/releases/npanday-its-1.2</developerConnection> | |
</scm> | |
<profiles> | |
<profile> | |
<id>run-its</id> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-surefire-plugin</artifactId> | |
<configuration> | |
<skip>false</skip> | |
<includes> | |
<include>**/IntegrationTestSuite.java</include> | |
</includes> | |
</configuration> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
<profile> | |
<id>npanday-release</id> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-gpg-plugin</artifactId> | |
<configuration> | |
<passphrase>${gpg.passphrase}</passphrase> | |
</configuration> | |
<executions> | |
<execution> | |
<goals> | |
<goal>sign</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</profile> | |
</profiles> | |
<distributionManagement> | |
<snapshotRepository> | |
<id>npanday.snapshots</id> | |
<name>NPanday Snapshots Repository</name> | |
<url>${npanday.snapshots.url}</url> | |
</snapshotRepository> | |
<repository> | |
<id>npanday.releases</id> | |
<name>NPanday Releases Repository</name> | |
<url>${npanday.releases.url}</url> | |
</repository> | |
</distributionManagement> | |
<!-- TODO: need to get these into central after 1.1 --> | |
<pluginRepositories> | |
<pluginRepository> | |
<id>npanday.releases</id> | |
<name>NPanday Releases Repository</name> | |
<url>${npanday.releases.url}</url> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
</pluginRepository> | |
</pluginRepositories> | |
<repositories> | |
<repository> | |
<id>npanday.releases</id> | |
<name>NPanday Releases Repository</name> | |
<url>${npanday.releases.url}</url> | |
<snapshots> | |
<enabled>false</enabled> | |
</snapshots> | |
</repository> | |
</repositories> | |
</project> |