Add missing dependencies 18/28318/2
authorStephen Kitt <skitt@redhat.com>
Tue, 13 Oct 2015 08:49:33 +0000 (10:49 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 14 Oct 2015 11:14:38 +0000 (11:14 +0000)
pax-url-aether provides javax.inject and commons-codec, but they need
to be declared separately for correctness and to allow upgrades to
newer versions of pax-url-aether.

com.google.inject.Inject can be replaced by javax.inject.Inject.

Change-Id: I0a1da43faf0345bd71c2737caaa840c396bc60ab
Signed-off-by: Stephen Kitt <skitt@redhat.com>
opendaylight/md-sal/sal-binding-it/pom.xml
opendaylight/md-sal/sal-binding-it/src/test/java/org/opendaylight/controller/test/sal/binding/it/DataServiceIT.java
opendaylight/md-sal/samples/toaster-it/pom.xml

index 04283e75c3962360c6af4256d770346f94bfe95d..5b404c7f2540c2cc82a52b810bc0ade419b041b6 100644 (file)
       <groupId>org.opendaylight.mdsal.model</groupId>
       <artifactId>opendaylight-l2-types</artifactId>
     </dependency>
+    <dependency>
+      <groupId>javax.inject</groupId>
+      <artifactId>javax.inject</artifactId>
+      <version>1</version>
+    </dependency>
   </dependencies>
 
   <build>
index 52aba32a28a1b877f7bd09e3222ebae8135db870..b73cb421986ef0018a7e825dffcdb3df38ce1bf5 100644 (file)
@@ -11,7 +11,7 @@ import static org.junit.Assert.assertEquals;
 import static org.junit.Assert.assertNotNull;
 import static org.junit.Assert.assertNull;
 
-import com.google.inject.Inject;
+import javax.inject.Inject;
 import java.util.concurrent.Future;
 import org.junit.Test;
 import org.opendaylight.controller.md.sal.common.api.TransactionStatus;
index e8ddc8ba9a6b88fb7de5838d1a105850cb63ed12..c897e073627ef4e7aa9a3328523c6f50d5d3a5ef 100644 (file)
       <version>${exam.version}</version>
       <scope>test</scope>
     </dependency>
+    <dependency>
+      <groupId>commons-codec</groupId>
+      <artifactId>commons-codec</artifactId>
+      <scope>test</scope>
+    </dependency>
   </dependencies>
 
   <build>