BUG-2625: fix failures with Java 8-targetted artifacts 61/33661/2
authorRobert Varga <rovarga@cisco.com>
Wed, 27 Jan 2016 21:13:40 +0000 (22:13 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Thu, 28 Jan 2016 10:55:41 +0000 (10:55 +0000)
This patch bumps to use equinox 3.9.1 and removes the use of
mockito-all, fixing failures seen with source/target set to Java 8

Change-Id: I6964633e2c6b0de934045522c8f245fdb66901da
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-binding-it/pom.xml
opendaylight/md-sal/sal-binding-it/src/main/java/org/opendaylight/controller/test/sal/binding/it/TestHelper.java
opendaylight/md-sal/samples/clustering-test-app/provider/pom.xml
opendaylight/md-sal/samples/toaster-it/pom.xml

index 8d8f6652c206fd7b8ab20fe8ccf2a94fb61ebeaa..7b6c27e288549bc84e3e775627af36d6ef6f0085 100644 (file)
@@ -18,7 +18,7 @@
       <artifactId>logback-core</artifactId>
     </dependency>
     <dependency>
-      <groupId>equinoxSDK381</groupId>
+      <groupId>org.eclipse.tycho</groupId>
       <artifactId>org.eclipse.osgi</artifactId>
     </dependency>
     <dependency>
index 9d651cdf8563eb2581ccd54a2c6c48fd8a8f8929..8c069510a3623c165fbf4ba45a2b7f67aa40eafa 100644 (file)
@@ -172,7 +172,9 @@ public class TestHelper {
         return new DefaultCompositeOption(
         // Repository required to load harmcrest (OSGi-fied version).
         // Mockito
-                mavenBundle("org.mockito", "mockito-all", "1.9.5"), junitBundles(),
+                mavenBundle("org.mockito", "mockito-core", "1.10.19"),
+                mavenBundle("org.objenesis", "objenesis", "2.2"),
+                junitBundles(),
 
                 /*
                  * Felix has implicit boot delegation enabled by default. It
index 97bc1d0156be28b883489cabbcb8f669cfafedca..c14482f6cc2d813debcfe36e003be4ce60da835f 100644 (file)
@@ -99,9 +99,8 @@
             <version>${mdsal.version}</version>
         </dependency>
         <dependency>
-          <groupId>equinoxSDK381</groupId>
-          <artifactId>org.eclipse.osgi</artifactId>
-          <version>3.8.1.v20120830-144521</version>
+            <groupId>org.eclipse.tycho</groupId>
+            <artifactId>org.eclipse.osgi</artifactId>
         </dependency>
     </dependencies>
 </project>
index fa6b9aa08322b1a036cb7ae816a57ddc33d7fdf5..4acb6636eee264a966310202983b567d9415b27a 100644 (file)
       <groupId>org.ops4j.pax.exam</groupId>
       <artifactId>pax-exam-junit4</artifactId>
     </dependency>
-    <dependency>
-      <groupId>equinoxSDK381</groupId>
-      <artifactId>org.eclipse.osgi</artifactId>
-      <scope>test</scope>
-    </dependency>
     <dependency>
       <groupId>org.ops4j.pax.exam</groupId>
       <artifactId>pax-exam-container-native</artifactId>