diff options
author | janani b <janani.b@huawei.com> | 2019-02-07 19:21:55 +0530 |
---|---|---|
committer | janani b <janani.b@huawei.com> | 2019-02-07 20:44:28 +0530 |
commit | 77a8961d8a40afb557814802264aaab50291807f (patch) | |
tree | 39524d1a5a30454073689e7bdeafd695ef0ba86b | |
parent | 02c666d1f6d40158a004a946a507c16e4ad5a70c (diff) |
Resolution for jersey version conflict
Moved the glassfish version of jersey to point to 2.25.1 as to that of odl
Issue-ID: CCSDK-1034
Change-Id: Ia245f3f49f035b45ce9668d334b05a70254272d6
Signed-off-by: janani b <janani.b@huawei.com>
-rw-r--r-- | features/ccsdk-sli-plugins-all/pom.xml | 4 | ||||
-rwxr-xr-x | restapi-call-node/provider/pom.xml | 17 | ||||
-rwxr-xr-x | restconf-client/provider/pom.xml | 18 |
3 files changed, 20 insertions, 19 deletions
diff --git a/features/ccsdk-sli-plugins-all/pom.xml b/features/ccsdk-sli-plugins-all/pom.xml index 2c4e4c61..7d9068e8 100644 --- a/features/ccsdk-sli-plugins-all/pom.xml +++ b/features/ccsdk-sli-plugins-all/pom.xml @@ -25,7 +25,7 @@ <type>xml</type> <classifier>features</classifier> </dependency> - <!-- Current breaks container due to jersey version conflict + <dependency> <groupId>${project.groupId}</groupId> <artifactId>ccsdk-restapi-call-node</artifactId> @@ -33,7 +33,7 @@ <type>xml</type> <classifier>features</classifier> </dependency> - --> + <dependency> <groupId>${project.groupId}</groupId> <artifactId>ccsdk-template-node</artifactId> diff --git a/restapi-call-node/provider/pom.xml b/restapi-call-node/provider/pom.xml index 52178540..5b34153d 100755 --- a/restapi-call-node/provider/pom.xml +++ b/restapi-call-node/provider/pom.xml @@ -50,14 +50,19 @@ <artifactId>slf4j-api</artifactId> </dependency> <dependency> + <groupId>org.glassfish.jersey.bundles.repackaged</groupId> + <artifactId>jersey-guava</artifactId> + <version>2.22.2</version> + </dependency> + <dependency> <groupId>org.glassfish.jersey.security</groupId> <artifactId>oauth1-signature</artifactId> - <version>${glassfish.version}</version> + <version>${jersey.version}</version> </dependency> <dependency> <groupId>org.glassfish.jersey.security</groupId> <artifactId>oauth1-client</artifactId> - <version>${glassfish.version}</version> + <version>${jersey.version}</version> </dependency> <dependency> <groupId>org.codehaus.jettison</groupId> @@ -66,14 +71,10 @@ <dependency> <groupId>org.glassfish.jersey.core</groupId> <artifactId>jersey-client</artifactId> - <version>${glassfish.version}</version> - </dependency> - <dependency> - <groupId>org.glassfish.jersey.inject</groupId> - <artifactId>jersey-hk2</artifactId> - <version>${glassfish.version}</version> + <version>${jersey.version}</version> </dependency> + <!-- For test --> <dependency> <groupId>junit</groupId> diff --git a/restconf-client/provider/pom.xml b/restconf-client/provider/pom.xml index e9467190..0dae6960 100755 --- a/restconf-client/provider/pom.xml +++ b/restconf-client/provider/pom.xml @@ -36,7 +36,7 @@ <dependency> <groupId>org.glassfish.jersey.media</groupId> <artifactId>jersey-media-sse</artifactId> - <version>${glassfish.version}</version> + <version>${jersey.version}</version> </dependency> <dependency> <groupId>javax.ws.rs</groupId> @@ -104,21 +104,15 @@ <scope>test</scope> </dependency> <dependency> - <groupId>org.glassfish.jersey.inject</groupId> - <artifactId>jersey-hk2</artifactId> - <version>${glassfish.version}</version> - <scope>test</scope> - </dependency> - <dependency> <groupId>org.glassfish.jersey.containers</groupId> <artifactId>jersey-container-servlet</artifactId> - <version>${glassfish.version}</version> + <version>${jersey.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.glassfish.jersey.containers</groupId> <artifactId>jersey-container-grizzly2-http</artifactId> - <version>${glassfish.version}</version> + <version>${jersey.version}</version> <scope>test</scope> </dependency> <dependency> @@ -133,5 +127,11 @@ <version>2.0.6.1</version> <scope>test</scope> </dependency> + <dependency> + <groupId>org.glassfish.jersey.core</groupId> + <artifactId>jersey-client</artifactId> + <version>${jersey.version}</version> + <scope>test</scope> + </dependency> </dependencies> </project> |