BUG-2159: update karaf version to 3.0.2 62/13962/1
authorRobert Varga <rovarga@cisco.com>
Wed, 7 Jan 2015 13:29:11 +0000 (14:29 +0100)
committerRobert Varga <rovarga@cisco.com>
Wed, 7 Jan 2015 13:31:13 +0000 (14:31 +0100)
Karaf 3.0.1 doe snot work correctly with Java 8, specifically it does
not export the 1.7 JavaSE osgi.ee property. This bumps the version used
in integration tests.

Change-Id: I67d7cd3fb3f7e243fab3cf7f8c36ff0ec3d91040
Signed-off-by: Robert Varga <rovarga@cisco.com>
common/features-test/src/main/java/org/opendaylight/yangtools/featuretest/SingleFeatureTest.java

index bead89cffcdd85262b4c934ede11473de1eb0be9..a646fb1bd7809258995e9cf19b81e999794c64de 100644 (file)
@@ -15,7 +15,6 @@ import static org.ops4j.pax.exam.CoreOptions.maven;
 import static org.ops4j.pax.exam.CoreOptions.vmOptions;
 import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.configureConsole;
 import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.editConfigurationFilePut;
-//import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.debugConfiguration;
 import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.karafDistributionConfiguration;
 import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.keepRuntimeFolder;
 import static org.ops4j.pax.exam.karaf.options.KarafDistributionOption.logLevel;
@@ -58,7 +57,7 @@ public class SingleFeatureTest {
     /*
      * Default values for karaf distro version, type, groupId, and artifactId
      */
-    private static final String KARAF_DISTRO_VERSION = "3.0.1";
+    private static final String KARAF_DISTRO_VERSION = "3.0.2";
     private static final String KARAF_DISTRO_TYPE = "zip";
     private static final String KARAF_DISTRO_ARTIFACTID = "apache-karaf";
     private static final String KARAF_DISTRO_GROUPID = "org.apache.karaf";
@@ -166,4 +165,4 @@ public class SingleFeatureTest {
       Assert.assertTrue("Failed to install Feature: " + getFeatureName() + " " + getFeatureVersion(),featuresService.isInstalled(f));
       LOG.info("Successfull installed feature {} {}", getFeatureName(),getFeatureVersion());
     }
-}
\ No newline at end of file
+}