From bf283df23d5f5a4b8da2c04ff26daca23f1add5a Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Mon, 2 Jan 2023 11:47:02 +0100 Subject: [PATCH] Cleanup netconf dependencies a bit We have a ton of warnings on used/unused dependencies, clean them up a bit. Change-Id: I4435e95f547cd86873031f911188746363b2d82f Signed-off-by: Robert Varga --- model/rfc5277/pom.xml | 8 +++ model/rfc6022/pom.xml | 8 +++ model/rfc6241/pom.xml | 8 +++ model/rfc6243/pom.xml | 8 +++ model/rfc8526/pom.xml | 12 ++++ netconf/netconf-api/pom.xml | 12 ++++ netconf/netconf-client/pom.xml | 51 +++++++++++++---- netconf/netconf-dom-api/pom.xml | 12 ++++ netconf/netconf-notifications-api/pom.xml | 6 ++ netconf/netconf-util/pom.xml | 69 +++++++++++++++++------ 10 files changed, 165 insertions(+), 29 deletions(-) diff --git a/model/rfc5277/pom.xml b/model/rfc5277/pom.xml index 850c676660..1819b1df21 100644 --- a/model/rfc5277/pom.xml +++ b/model/rfc5277/pom.xml @@ -30,6 +30,14 @@ --> + + com.google.guava + guava + + + org.opendaylight.yangtools + yang-common + org.opendaylight.mdsal.binding.model.ietf rfc6991-ietf-yang-types diff --git a/model/rfc6022/pom.xml b/model/rfc6022/pom.xml index 713447c2df..96ac8602d2 100644 --- a/model/rfc6022/pom.xml +++ b/model/rfc6022/pom.xml @@ -23,6 +23,14 @@ RFC6022 YANG Module for NETCONF Monitoring + + com.google.guava + guava + + + org.opendaylight.yangtools + yang-common + org.opendaylight.mdsal.binding.model.ietf rfc6991-ietf-inet-types diff --git a/model/rfc6241/pom.xml b/model/rfc6241/pom.xml index febf65cd34..021d56bca2 100644 --- a/model/rfc6241/pom.xml +++ b/model/rfc6241/pom.xml @@ -23,6 +23,14 @@ RFC6241 Network Configuration Protocol (NETCONF) + + com.google.guava + guava + + + org.opendaylight.yangtools + yang-common + org.opendaylight.mdsal.binding.model.ietf rfc6991-ietf-inet-types diff --git a/model/rfc6243/pom.xml b/model/rfc6243/pom.xml index 54652b0263..368bae1778 100644 --- a/model/rfc6243/pom.xml +++ b/model/rfc6243/pom.xml @@ -23,6 +23,14 @@ RFC6243 With-defaults Capability for NETCONF + + com.google.guava + guava + + + org.opendaylight.yangtools + yang-common + org.opendaylight.netconf.model rfc6241 diff --git a/model/rfc8526/pom.xml b/model/rfc8526/pom.xml index 461a56e8e4..ef11e5027e 100644 --- a/model/rfc8526/pom.xml +++ b/model/rfc8526/pom.xml @@ -23,6 +23,14 @@ RFC8526 NETCONF Extensions to Support NMDA + + com.google.guava + guava + + + org.opendaylight.yangtools + yang-common + org.opendaylight.mdsal.binding.model.ietf rfc6991-ietf-inet-types @@ -39,6 +47,10 @@ org.opendaylight.mdsal.binding.model.ietf rfc8342-ietf-origin + + org.opendaylight.netconf.model + rfc6241 + org.opendaylight.netconf.model rfc6243 diff --git a/netconf/netconf-api/pom.xml b/netconf/netconf-api/pom.xml index 1f769a8ffb..cbc5ffb882 100644 --- a/netconf/netconf-api/pom.xml +++ b/netconf/netconf-api/pom.xml @@ -21,10 +21,22 @@ bundle + + com.google.guava + guava + io.netty netty-transport + + org.opendaylight.yangtools + util + + + org.opendaylight.yangtools + yang-common + org.opendaylight.yangtools yang-model-api diff --git a/netconf/netconf-client/pom.xml b/netconf/netconf-client/pom.xml index e0c72465f7..87f4482052 100644 --- a/netconf/netconf-client/pom.xml +++ b/netconf/netconf-client/pom.xml @@ -22,25 +22,54 @@ - ${project.groupId} + com.google.guava + guava + + + com.guicedee.services + javax.inject + true + + + io.netty + netty-codec + + + io.netty + netty-common + + + io.netty + netty-handler + + + io.netty + netty-transport + + + org.checkerframework + checker-qual + provided + + + org.opendaylight.mdsal.binding.model.ietf + rfc6991-ietf-inet-types + + + org.opendaylight.netconf netconf-api - ${project.groupId} + org.opendaylight.netconf netconf-netty-util - ${project.groupId} + org.opendaylight.netconf netconf-util - com.google.guava - guava - - - com.guicedee.services - javax.inject - true + org.opendaylight.netconf + shaded-exificient org.osgi @@ -52,7 +81,7 @@ mockito-configuration - ${project.groupId} + org.opendaylight.netconf netconf-util test-jar test diff --git a/netconf/netconf-dom-api/pom.xml b/netconf/netconf-dom-api/pom.xml index b2d18c18a1..f17c263777 100644 --- a/netconf/netconf-dom-api/pom.xml +++ b/netconf/netconf-dom-api/pom.xml @@ -22,6 +22,18 @@ bundle + + com.google.guava + guava + + + org.opendaylight.yangtools + yang-data-api + + + org.opendaylight.mdsal + mdsal-common-api + org.opendaylight.mdsal mdsal-dom-api diff --git a/netconf/netconf-notifications-api/pom.xml b/netconf/netconf-notifications-api/pom.xml index 729cb37ac5..3fc310ee85 100644 --- a/netconf/netconf-notifications-api/pom.xml +++ b/netconf/netconf-notifications-api/pom.xml @@ -39,5 +39,11 @@ org.opendaylight.netconf.model rfc6470 + + + org.opendaylight.yangtools + util + test + diff --git a/netconf/netconf-util/pom.xml b/netconf/netconf-util/pom.xml index 202356ac77..57ce387853 100644 --- a/netconf/netconf-util/pom.xml +++ b/netconf/netconf-util/pom.xml @@ -22,14 +22,6 @@ - - ${project.groupId} - netconf-api - - - ${project.groupId} - netconf-mapping-api - com.google.guava guava @@ -39,20 +31,36 @@ netty-transport - org.slf4j - slf4j-api + org.opendaylight.yangtools + concepts org.opendaylight.yangtools - mockito-configuration + yang-common org.opendaylight.yangtools - yang-model-api + yang-data-api org.opendaylight.yangtools - yang-data-api + yang-data-util + + + org.opendaylight.yangtools + rfc7952-data-api + + + org.opendaylight.yangtools + rfc7952-data-util + + + org.opendaylight.yangtools + rfc8528-data-api + + + org.opendaylight.yangtools + rfc8528-data-util org.opendaylight.yangtools @@ -62,6 +70,22 @@ org.opendaylight.yangtools yang-data-codec-xml + + org.opendaylight.yangtools + yang-model-api + + + org.opendaylight.yangtools + yang-model-util + + + org.opendaylight.netconf + netconf-api + + + org.opendaylight.netconf + netconf-mapping-api + org.osgi org.osgi.service.component.annotations @@ -72,20 +96,29 @@ - org.xmlunit - xmlunit-legacy - test + org.opendaylight.yangtools + mockito-configuration - + org.opendaylight.mdsal mdsal-binding-generator test - + org.opendaylight.mdsal mdsal-binding-runtime-spi test + + org.opendaylight.netconf.model + rfc6022 + test + + + org.xmlunit + xmlunit-legacy + test + -- 2.36.6