You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by pi...@apache.org on 2011/12/01 09:53:28 UTC

svn commit: r1209004 - /karaf/trunk/tooling/exam/regression/pom.xml

Author: pieber
Date: Thu Dec  1 08:53:27 2011
New Revision: 1209004

URL: http://svn.apache.org/viewvc?rev=1209004&view=rev
Log:
[KARAF-1004] I hope this fixes the hudson problems finding the karaf assembly

Signed-off-by: Andreas Pieber <an...@gmail.com>

Modified:
    karaf/trunk/tooling/exam/regression/pom.xml

Modified: karaf/trunk/tooling/exam/regression/pom.xml
URL: http://svn.apache.org/viewvc/karaf/trunk/tooling/exam/regression/pom.xml?rev=1209004&r1=1209003&r2=1209004&view=diff
==============================================================================
--- karaf/trunk/tooling/exam/regression/pom.xml (original)
+++ karaf/trunk/tooling/exam/regression/pom.xml Thu Dec  1 08:53:27 2011
@@ -18,7 +18,7 @@
         See the License for the specific language governing permissions and
         limitations under the License.
     -->
-    
+
   <modelVersion>4.0.0</modelVersion>
 
   <parent>
@@ -85,5 +85,28 @@
     </plugins>
   </build>
 
+  <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>
+    </profiles>
+
 </project>