You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/07/22 23:37:30 UTC

svn commit: r796887 - /maven/core-integration-testing/trunk/core-it-suite/pom.xml

Author: bentmann
Date: Wed Jul 22 21:37:30 2009
New Revision: 796887

URL: http://svn.apache.org/viewvc?rev=796887&view=rev
Log:
o Decoupled ITs from Maven's/Surefire's handling of system properties and be more explicit about the intented data flow

Modified:
    maven/core-integration-testing/trunk/core-it-suite/pom.xml

Modified: maven/core-integration-testing/trunk/core-it-suite/pom.xml
URL: http://svn.apache.org/viewvc/maven/core-integration-testing/trunk/core-it-suite/pom.xml?rev=796887&r1=796886&r2=796887&view=diff
==============================================================================
--- maven/core-integration-testing/trunk/core-it-suite/pom.xml (original)
+++ maven/core-integration-testing/trunk/core-it-suite/pom.xml Wed Jul 22 21:37:30 2009
@@ -159,6 +159,30 @@
       </build>
     </profile>
     <profile>
+      <id>maven-repo-local</id>
+      <activation>
+        <property>
+          <name>maven.repo.local</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <systemProperties combine.children="append">
+                <property>
+                  <!-- Pass this through to the tests (if set!) to have them pick the right repository -->
+                  <name>maven.repo.local</name>
+                  <value>${maven.repo.local}</value>
+                </property>
+              </systemProperties>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+    <profile>
       <id>emma</id>
       <properties>
         <preparedMavenHome>${project.build.directory}/distro</preparedMavenHome>