maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bentm...@apache.org
Subject svn commit: r1002873 - /maven/shared/trunk/maven-runtime/pom.xml
Date Wed, 29 Sep 2010 22:18:57 GMT
Author: bentmann
Date: Wed Sep 29 22:18:57 2010
New Revision: 1002873

URL: http://svn.apache.org/viewvc?rev=1002873&view=rev
Log:
o Fixed tests to respect maven.repo.local

Modified:
    maven/shared/trunk/maven-runtime/pom.xml

Modified: maven/shared/trunk/maven-runtime/pom.xml
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-runtime/pom.xml?rev=1002873&r1=1002872&r2=1002873&view=diff
==============================================================================
--- maven/shared/trunk/maven-runtime/pom.xml (original)
+++ maven/shared/trunk/maven-runtime/pom.xml Wed Sep 29 22:18:57 2010
@@ -157,4 +157,30 @@
       </plugin>
     </plugins>
   </reporting>
+
+  <profiles>
+    <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>
+                  <name>maven.repo.local</name>
+                  <value>${maven.repo.local}</value>
+                </property>
+              </systemProperties>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>



Mime
View raw message