Author: brianf Date: Mon Mar 17 13:30:17 2008 New Revision: 638057 URL: http://svn.apache.org/viewvc?rev=638057&view=rev Log: (empty)
Modified: maven/components/branches/maven-2.0.x/maven-core-it-runner/pom.xml Modified: maven/components/branches/maven-2.0.x/maven-core-it-runner/pom.xml URL: http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x/maven-core-it-runner/pom.xml?rev=638057&r1=638056&r2=638057&view=diff ============================================================================== --- maven/components/branches/maven-2.0.x/maven-core-it-runner/pom.xml (original) +++ maven/components/branches/maven-2.0.x/maven-core-it-runner/pom.xml Mon Mar 17 13:30:17 2008 @@ -19,93 +19,137 @@ --> <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> - <parent> - <artifactId>maven</artifactId> - <groupId>org.apache.maven</groupId> - <version>2.0.9-SNAPSHOT</version> - </parent> - <artifactId>maven-core-it-runner</artifactId> - <name>Integration Test Executor</name> - <dependencies> - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>assembly</artifactId> - <version>2.0.9-SNAPSHOT</version> - <classifier>bin</classifier> - <type>tar.gz</type> - </dependency> - <dependency> - <groupId>org.apache.maven.its</groupId> - <artifactId>core-integration-tests</artifactId> - <version>2.1-SNAPSHOT</version> - <classifier>tests</classifier> - <scope>test</scope> - </dependency> - </dependencies> - <build> - <plugins> - <plugin> - <artifactId>maven-surefire-plugin</artifactId> - <version>2.3</version> - <configuration> - <systemProperties> - <property> - <name>maven.home</name> - <value>${basedir}/target/maven-installation/apache-maven-${pom.version}</value> - </property> - <property> - <name>maven.test.tmpdir</name> - <value>${basedir}/target/it-working-folder</value> - </property> - <property> - <name>maven.repo.local</name> - <value>${maven.repo.local}</value> - </property> - </systemProperties> - <includes> - <include>**/Suite.java</include> - </includes> - </configuration> - </plugin> - <plugin> - <artifactId>maven-dependency-plugin</artifactId> - <executions> - <execution> - <configuration> - <artifactItems> - <artifactItem> - <groupId>org.apache.maven</groupId> - <artifactId>assembly</artifactId> - <version>${pom.version}</version> - <classifier>bin</classifier> - <type>tar.gz</type> - </artifactItem> - </artifactItems> - <outputDirectory>target/maven-installation</outputDirectory> - </configuration> - <goals> - <goal>unpack</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <artifactId>maven-antrun-plugin</artifactId> - <executions> - <execution> - <configuration> - <tasks> - <chmod file="${basedir}/target/maven-installation/apache-maven-${pom.version}/bin/mvn" perm="755"/> - </tasks> - </configuration> - <phase>process-sources</phase> - <goals> - <goal>run</goal> - </goals> - </execution> - </executions> - </plugin> - </plugins> - </build> + <modelVersion>4.0.0</modelVersion> + <parent> + <artifactId>maven</artifactId> + <groupId>org.apache.maven</groupId> + <version>2.0.9-SNAPSHOT</version> + </parent> + <artifactId>maven-core-it-runner</artifactId> + <name>Integration Test Executor</name> + <dependencies> + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>assembly</artifactId> + <version>2.0.9-SNAPSHOT</version> + <classifier>bin</classifier> + <type>tar.gz</type> + </dependency> + <dependency> + <groupId>org.apache.maven.its</groupId> + <artifactId>core-integration-tests</artifactId> + <version>2.1-SNAPSHOT</version> + <classifier>tests</classifier> + <scope>test</scope> + </dependency> + </dependencies> + <build> + <plugins> + <plugin> + <artifactId>maven-dependency-plugin</artifactId> + <executions> + <execution> + <configuration> + <artifactItems> + <artifactItem> + <groupId>org.apache.maven</groupId> + <artifactId>assembly</artifactId> + <version>${pom.version}</version> + <classifier>bin</classifier> + <type>tar.gz</type> + </artifactItem> + </artifactItems> + <outputDirectory>target/maven-installation</outputDirectory> + </configuration> + <goals> + <goal>unpack</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <configuration> + <tasks> + <chmod file="${basedir}/target/maven-installation/apache-maven-${pom.version}/bin/mvn" perm="755"/> + </tasks> + </configuration> + <phase>process-sources</phase> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> + </build> + <profiles> + <profile> + <id>no-local-repo-defined</id> + <activation> + <activeByDefault>true</activeByDefault> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.3</version> + <configuration> + <systemProperties> + <property> + <name>maven.home</name> + <value>${basedir}/target/maven-installation/apache-maven-${pom.version}</value> + </property> + <property> + <name>maven.test.tmpdir</name> + <value>${basedir}/target/it-working-folder</value> + </property> + </systemProperties> + <includes> + <include>**/Suite.java</include> + </includes> + </configuration> + </plugin> + </plugins> + </build> + </profile> + <profile> + <!--this profile is activated if maven.repo.local is defined and passes it to surefire--> + <id>local-repo-defined</id> + <activation> + <property> + <name>maven.repo.local</name> + </property> + </activation> + <build> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>2.3</version> + <configuration> + <systemProperties> + <property> + <name>maven.home</name> + <value>${basedir}/target/maven-installation/apache-maven-${pom.version}</value> + </property> + <property> + <name>maven.test.tmpdir</name> + <value>${basedir}/target/it-working-folder</value> + </property> + <property> + <name>maven.repo.local</name> + <value>${maven.repo.local}</value> + </property> + </systemProperties> + <includes> + <include>**/Suite.java</include> + </includes> + </configuration> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>