SLING-3749 : Intelligently manage start level during artifact handling
authorCarsten Ziegeler <cziegeler@apache.org>
Tue, 30 Dec 2014 10:40:11 +0000 (10:40 +0000)
committerCarsten Ziegeler <cziegeler@apache.org>
Tue, 30 Dec 2014 10:40:11 +0000 (10:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1648500 13f79535-47bb-0310-9956-ffa450edef68

src/test/java/org/apache/sling/installer/it/OsgiInstallerTestBase.java

index 30bfe95..6ce5595 100644 (file)
@@ -395,6 +395,7 @@ public class OsgiInstallerTestBase implements FrameworkListener {
        String localRepo = System.getProperty("maven.repo.local", "");
 
        return options(
+
                 junitBundles(),
                 when( localRepo.length() > 0 ).useOptions(
                         systemProperty("org.ops4j.pax.url.mvn.localRepository").value(localRepo)
@@ -411,8 +412,8 @@ public class OsgiInstallerTestBase implements FrameworkListener {
                            mavenBundle("org.apache.felix", "org.apache.felix.scr", "1.8.0"),
                            mavenBundle("org.apache.felix", "org.apache.felix.configadmin", "1.2.8"),
                         mavenBundle("org.apache.felix", "org.apache.felix.metatype", "1.0.2"),
-                               mavenBundle("org.apache.sling", "org.apache.sling.installer.core", POM_VERSION),
-                        mavenBundle("org.apache.sling", "org.apache.sling.installer.factory.configuration", CONFIG_VERSION)
+                               mavenBundle("org.apache.sling", "org.apache.sling.installer.core", POM_VERSION).startLevel(5),
+                        mavenBundle("org.apache.sling", "org.apache.sling.installer.factory.configuration", CONFIG_VERSION).startLevel(5)
                        )
         );
     }