From b3819fe67e039dfd82d1e2a5915685d5d5be5eae Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Wed, 16 Jan 2019 15:55:58 +0100 Subject: [PATCH] Remove jackson dependency from restconf Restconf actually does not depend on jackson, but a single test relies on woodstox-core's XML formatting behavior. Remove odl-jackson dependency and add a temporary woodstox-core dependency for testing only. Change-Id: I34038dbaa7807f25fe03de2514eb9b469b4b7979 JIRA: NETCONF-591 Signed-off-by: Robert Varga --- features/restconf/odl-restconf-common/pom.xml | 7 ------- .../odl-restconf-common/src/main/feature/feature.xml | 1 - restconf/restconf-nb-bierman02/pom.xml | 10 ++++++---- restconf/restconf-nb-rfc8040/pom.xml | 5 ----- 4 files changed, 6 insertions(+), 17 deletions(-) diff --git a/features/restconf/odl-restconf-common/pom.xml b/features/restconf/odl-restconf-common/pom.xml index d21103aaaf..14ed498e32 100644 --- a/features/restconf/odl-restconf-common/pom.xml +++ b/features/restconf/odl-restconf-common/pom.xml @@ -120,13 +120,6 @@ - - org.opendaylight.odlparent - odl-jackson-2.9 - 4.0.8 - xml - features - org.json json diff --git a/features/restconf/odl-restconf-common/src/main/feature/feature.xml b/features/restconf/odl-restconf-common/src/main/feature/feature.xml index 35984eb7b4..17e93e991e 100644 --- a/features/restconf/odl-restconf-common/src/main/feature/feature.xml +++ b/features/restconf/odl-restconf-common/src/main/feature/feature.xml @@ -9,7 +9,6 @@ odl-karaf-feat-jetty - odl-jackson-2.9 odl-yangtools-export diff --git a/restconf/restconf-nb-bierman02/pom.xml b/restconf/restconf-nb-bierman02/pom.xml index 9cd37dd097..aa361efa5b 100644 --- a/restconf/restconf-nb-bierman02/pom.xml +++ b/restconf/restconf-nb-bierman02/pom.xml @@ -118,10 +118,6 @@ net.java.dev.stax-utils stax-utils - - com.fasterxml.jackson.dataformat - jackson-dataformat-xml - org.json json @@ -149,6 +145,12 @@ + + + com.fasterxml.woodstox + woodstox-core + 5.0.3 + org.glassfish.jersey.test-framework.providers jersey-test-framework-provider-grizzly2 diff --git a/restconf/restconf-nb-rfc8040/pom.xml b/restconf/restconf-nb-rfc8040/pom.xml index ed88e7a2a4..8af83e1c19 100644 --- a/restconf/restconf-nb-rfc8040/pom.xml +++ b/restconf/restconf-nb-rfc8040/pom.xml @@ -96,11 +96,6 @@ netty-codec-http - - com.fasterxml.jackson.dataformat - jackson-dataformat-xml - - net.java.dev.stax-utils stax-utils -- 2.36.6