You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2016/09/29 13:50:22 UTC

svn commit: r1762778 - /sling/trunk/bundles/extensions/healthcheck/it/src/test/java/org/apache/sling/hc/it/core/U.java

Author: rombert
Date: Thu Sep 29 13:50:22 2016
New Revision: 1762778

URL: http://svn.apache.org/viewvc?rev=1762778&view=rev
Log:
SLING-6074 - Healthcheck ITs fail in isolated job on Jenkins

Manually define the repositories to be used by pax-exam. I had
to define both manually as just adding the apache snapshots one
resulted in maven central no longer being used.

Modified:
    sling/trunk/bundles/extensions/healthcheck/it/src/test/java/org/apache/sling/hc/it/core/U.java

Modified: sling/trunk/bundles/extensions/healthcheck/it/src/test/java/org/apache/sling/hc/it/core/U.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/healthcheck/it/src/test/java/org/apache/sling/hc/it/core/U.java?rev=1762778&r1=1762777&r2=1762778&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/healthcheck/it/src/test/java/org/apache/sling/hc/it/core/U.java (original)
+++ sling/trunk/bundles/extensions/healthcheck/it/src/test/java/org/apache/sling/hc/it/core/U.java Thu Sep 29 13:50:22 2016
@@ -22,6 +22,7 @@ import static org.ops4j.pax.exam.CoreOpt
 import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
 import static org.ops4j.pax.exam.CoreOptions.options;
 import static org.ops4j.pax.exam.CoreOptions.provision;
+import static org.ops4j.pax.exam.CoreOptions.repository;
 import static org.ops4j.pax.exam.CoreOptions.systemProperty;
 import static org.ops4j.pax.exam.CoreOptions.when;
 
@@ -67,6 +68,8 @@ public class U {
         final boolean felixShell = "true".equals(System.getProperty("felix.shell", "false"));
 
         return options(
+            repository("https://repo.maven.apache.org/maven2/").id("central"),
+            repository("https://repository.apache.org/snapshots/").id("apache-snapshots").allowSnapshots(),
             when(localRepo.length() > 0).useOptions(
                     systemProperty("org.ops4j.pax.url.mvn.localRepository").value(localRepo)
             ),