Specify necessary dependencies 09/70809/1
authorRyan Goulding <ryandgoulding@gmail.com>
Wed, 11 Apr 2018 16:47:49 +0000 (12:47 -0400)
committerLuis Gomez <ecelgp@gmail.com>
Thu, 12 Apr 2018 00:57:37 +0000 (00:57 +0000)
odl-restconf-common relies on AAA bringing in Jersey 1.X dependencies.
Relying on transitive dependencies is not good practice, since it
binds the upstream to providing them continuously.  AAA is undergoing
cleanup related to Jersey implementation, part of which is an experiment
to switch on Jersey 2.  In order to do this, we remove the Jersey 1
"com.sun.jersey" dependencies.  This causes RESTCONF to have missing
runtime dependencies.  This patch fixes this issue properly.

Change-Id: Idb32f44573684770b9a57675dfadf010d8a16c9e
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
features/restconf/odl-restconf-common/pom.xml

index 6290f97912034d5530cb8842eab03a346d7d2d3f..92460554a768c1898b0783f347b212a5109198a5 100644 (file)
             <groupId>org.opendaylight.netconf</groupId>
             <artifactId>restconf-common</artifactId>
         </dependency>
+        <dependency>
+            <groupId>com.sun.jersey</groupId>
+            <artifactId>jersey-core</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.jersey</groupId>
+            <artifactId>jersey-server</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>com.sun.jersey</groupId>
+            <artifactId>jersey-servlet</artifactId>
+        </dependency>
+
     </dependencies>
 </project>