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/12 13:27:13 UTC

svn commit: r793333 - /maven/components/trunk/pom.xml

Author: bentmann
Date: Sun Jul 12 11:27:13 2009
New Revision: 793333

URL: http://svn.apache.org/viewvc?rev=793333&view=rev
Log:
o Propagated maven.repo.local to unit tests

Modified:
    maven/components/trunk/pom.xml

Modified: maven/components/trunk/pom.xml
URL: http://svn.apache.org/viewvc/maven/components/trunk/pom.xml?rev=793333&r1=793332&r2=793333&view=diff
==============================================================================
--- maven/components/trunk/pom.xml (original)
+++ maven/components/trunk/pom.xml Sun Jul 12 11:27:13 2009
@@ -428,6 +428,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>m2e</id>
       <activation>
         <property>