From a05515b02c6548dfbfdbed96a8860f4dcf05b308 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Wed, 12 May 2021 23:14:18 +0200 Subject: [PATCH] Cleanup dependencies a bit There are a number of unnecessary dependencies we are using, which are getting flagged by odlparent-9. Clean the most obvious ones, reducing our footprint. Change-Id: I0881d82f4928505998254088c4c729057c86bb7d Signed-off-by: Robert Varga --- netconf/models/ietf-netconf-monitoring/pom.xml | 6 +++++- netconf/models/ietf-netconf-nmda/pom.xml | 12 ++++++++++-- netconf/models/ietf-netconf-notifications/pom.xml | 4 ++-- netconf/netconf-api/pom.xml | 8 -------- netconf/netconf-notifications-api/pom.xml | 4 ++-- netconf/netconf-util/pom.xml | 6 +++++- netconf/sal-netconf-connector/pom.xml | 4 ++++ 7 files changed, 28 insertions(+), 16 deletions(-) diff --git a/netconf/models/ietf-netconf-monitoring/pom.xml b/netconf/models/ietf-netconf-monitoring/pom.xml index b35d498686..9ede42a3db 100644 --- a/netconf/models/ietf-netconf-monitoring/pom.xml +++ b/netconf/models/ietf-netconf-monitoring/pom.xml @@ -25,7 +25,11 @@ org.opendaylight.mdsal.binding.model.ietf - rfc6991 + rfc6991-ietf-inet-types + + + org.opendaylight.mdsal.binding.model.ietf + rfc6991-ietf-yang-types diff --git a/netconf/models/ietf-netconf-nmda/pom.xml b/netconf/models/ietf-netconf-nmda/pom.xml index cf92844561..6f47595d40 100644 --- a/netconf/models/ietf-netconf-nmda/pom.xml +++ b/netconf/models/ietf-netconf-nmda/pom.xml @@ -25,11 +25,19 @@ org.opendaylight.mdsal.binding.model.ietf - rfc6991 + rfc6991-ietf-inet-types org.opendaylight.mdsal.binding.model.ietf - rfc8342 + rfc6991-ietf-yang-types + + + org.opendaylight.mdsal.binding.model.ietf + rfc8342-ietf-datastores + + + org.opendaylight.mdsal.binding.model.ietf + rfc8342-ietf-origin org.opendaylight.netconf diff --git a/netconf/models/ietf-netconf-notifications/pom.xml b/netconf/models/ietf-netconf-notifications/pom.xml index 9461b5a9b6..acdc8e3490 100644 --- a/netconf/models/ietf-netconf-notifications/pom.xml +++ b/netconf/models/ietf-netconf-notifications/pom.xml @@ -29,11 +29,11 @@ org.opendaylight.mdsal.binding.model.ietf - rfc6991 + rfc6991-ietf-inet-types org.opendaylight.mdsal.binding.model.ietf - rfc8525 + rfc6991-ietf-yang-types diff --git a/netconf/netconf-api/pom.xml b/netconf/netconf-api/pom.xml index 30e6d06e1f..34e585631e 100644 --- a/netconf/netconf-api/pom.xml +++ b/netconf/netconf-api/pom.xml @@ -32,14 +32,6 @@ ${project.groupId} ietf-netconf-monitoring - - ${project.groupId} - ietf-netconf-monitoring-extension - - - org.opendaylight.mdsal.binding.model.ietf - rfc6991 - org.opendaylight.yangtools yang-model-api diff --git a/netconf/netconf-notifications-api/pom.xml b/netconf/netconf-notifications-api/pom.xml index 90ec06bcf9..5b05a9b2c4 100644 --- a/netconf/netconf-notifications-api/pom.xml +++ b/netconf/netconf-notifications-api/pom.xml @@ -34,8 +34,8 @@ ietf-netconf-notifications - org.slf4j - slf4j-api + org.opendaylight.mdsal.binding.model.ietf + rfc8525 diff --git a/netconf/netconf-util/pom.xml b/netconf/netconf-util/pom.xml index 288ed537bb..ce950d524a 100644 --- a/netconf/netconf-util/pom.xml +++ b/netconf/netconf-util/pom.xml @@ -38,7 +38,11 @@ io.netty - netty-handler + netty-common + + + io.netty + netty-transport org.slf4j diff --git a/netconf/sal-netconf-connector/pom.xml b/netconf/sal-netconf-connector/pom.xml index 06155a88a1..77df465a68 100644 --- a/netconf/sal-netconf-connector/pom.xml +++ b/netconf/sal-netconf-connector/pom.xml @@ -27,6 +27,10 @@ ${project.groupId} ietf-netconf-monitoring + + ${project.groupId} + ietf-netconf-monitoring-extension + ${project.groupId} ietf-netconf-notifications -- 2.36.6