You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ge...@apache.org on 2009/03/14 15:03:05 UTC

svn commit: r753661 - /servicemix/smx4/kernel/trunk/gshell/itests/pom.xml

Author: gertv
Date: Sat Mar 14 14:03:05 2009
New Revision: 753661

URL: http://svn.apache.org/viewvc?rev=753661&view=rev
Log:
SMX4KNL-242: GShell itests fail when maven.repo.local is specified

Modified:
    servicemix/smx4/kernel/trunk/gshell/itests/pom.xml

Modified: servicemix/smx4/kernel/trunk/gshell/itests/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/kernel/trunk/gshell/itests/pom.xml?rev=753661&r1=753660&r2=753661&view=diff
==============================================================================
--- servicemix/smx4/kernel/trunk/gshell/itests/pom.xml (original)
+++ servicemix/smx4/kernel/trunk/gshell/itests/pom.xml Sat Mar 14 14:03:05 2009
@@ -111,6 +111,26 @@
 
     <profiles>
         <profile>
+            <id>ci-build-profile</id>
+            <activation>
+                <property>
+                   <name>maven.repo.local</name>
+                </property>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.maven.plugins</groupId>
+                        <artifactId>maven-surefire-plugin</artifactId>
+                        <configuration>
+                           <!-- when the local repo location has been specified, we need to pass on this information to PAX mvn url -->
+                           <argLine>-Dorg.ops4j.pax.url.mvn.localRepository=${maven.repo.local}</argLine>
+                        </configuration>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+        <profile>
             <activation>
                 <os>
                     <family>Windows</family>