You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ch...@apache.org on 2016/10/13 08:28:56 UTC
svn commit: r1764621 -
/sling/trunk/bundles/commons/log-webconsole/src/test/java/org/apache/sling/commons/log/webconsole/LogTestBase.java
Author: chetanm
Date: Thu Oct 13 08:28:56 2016
New Revision: 1764621
URL: http://svn.apache.org/viewvc?rev=1764621&view=rev
Log:
SLING-5932 - Move Web Console Plugin to separate bundle
Add apache-snapshot repository. Thanks Robert for the tip!
Modified:
sling/trunk/bundles/commons/log-webconsole/src/test/java/org/apache/sling/commons/log/webconsole/LogTestBase.java
Modified: sling/trunk/bundles/commons/log-webconsole/src/test/java/org/apache/sling/commons/log/webconsole/LogTestBase.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/commons/log-webconsole/src/test/java/org/apache/sling/commons/log/webconsole/LogTestBase.java?rev=1764621&r1=1764620&r2=1764621&view=diff
==============================================================================
--- sling/trunk/bundles/commons/log-webconsole/src/test/java/org/apache/sling/commons/log/webconsole/LogTestBase.java (original)
+++ sling/trunk/bundles/commons/log-webconsole/src/test/java/org/apache/sling/commons/log/webconsole/LogTestBase.java Thu Oct 13 08:28:56 2016
@@ -34,11 +34,11 @@ import org.ops4j.pax.exam.options.Defaul
import org.osgi.framework.BundleContext;
import static org.ops4j.pax.exam.CoreOptions.composite;
-import static org.ops4j.pax.exam.CoreOptions.frameworkProperty;
import static org.ops4j.pax.exam.CoreOptions.junitBundles;
import static org.ops4j.pax.exam.CoreOptions.keepCaches;
import static org.ops4j.pax.exam.CoreOptions.mavenBundle;
import static org.ops4j.pax.exam.CoreOptions.options;
+import static org.ops4j.pax.exam.CoreOptions.repository;
import static org.ops4j.pax.exam.CoreOptions.systemProperty;
import static org.ops4j.pax.exam.CoreOptions.systemTimeout;
import static org.ops4j.pax.exam.CoreOptions.workingDirectory;
@@ -87,6 +87,7 @@ public abstract class LogTestBase {
return options(
// the current project (the bundle under test)
CoreOptions.bundle(bundleFile.toURI().toString()),
+ repository("https://repository.apache.org/snapshots/").id("apache-snapshots").allowSnapshots(),
mavenBundle("org.slf4j", "slf4j-api").versionAsInProject(),
mavenBundle("org.apache.sling", "org.apache.sling.commons.logservice").versionAsInProject(),
LogTestBase.webSupport(),