From d8e9e3839c76b5be417ab949fecaff8b99fcaf3c Mon Sep 17 00:00:00 2001 From: Gilles Thouenon Date: Mon, 23 Jan 2023 18:48:27 +0100 Subject: [PATCH] Clean maven files To remove compilation warnings wrt dependency declarations (especially test scope) JIRA: TRNSPRTPCE-719 Signed-off-by: Gilles Thouenon Change-Id: I951224b0e39c7775f29422d58eb790d39cbf572a --- common/pom.xml | 8 +--- nbinotifications/pom.xml | 9 ++-- networkmodel/pom.xml | 99 ++++++++++++++++++++++------------------ olm/pom.xml | 31 +++++-------- pce/pom.xml | 81 +++++++++++++++++--------------- renderer/pom.xml | 4 -- 6 files changed, 119 insertions(+), 113 deletions(-) diff --git a/common/pom.xml b/common/pom.xml index 7a2233b7c..7266c3ea3 100644 --- a/common/pom.xml +++ b/common/pom.xml @@ -118,11 +118,11 @@ org.opendaylight.mdsal.binding.model.ietf - rfc6991-ietf-inet-types + rfc8345-ietf-network org.opendaylight.mdsal.binding.model.ietf - rfc8345-ietf-network + rfc6991-ietf-inet-types org.opendaylight.mdsal @@ -148,10 +148,6 @@ org.opendaylight.netconf netconf-topology - - org.opendaylight.netconf - sal-netconf-connector - com.google.guava guava diff --git a/nbinotifications/pom.xml b/nbinotifications/pom.xml index 070ec4f99..51cc74009 100644 --- a/nbinotifications/pom.xml +++ b/nbinotifications/pom.xml @@ -39,10 +39,6 @@ - - org.opendaylight.transportpce.models - openroadm-common-10.1.0 - org.opendaylight.transportpce.models openroadm-service-10.1.0 @@ -104,6 +100,11 @@ + + org.opendaylight.transportpce.models + openroadm-common-10.1.0 + test + ${project.groupId} test-common diff --git a/networkmodel/pom.xml b/networkmodel/pom.xml index de28023d0..2de87a9e1 100644 --- a/networkmodel/pom.xml +++ b/networkmodel/pom.xml @@ -114,22 +114,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.yangtools yang-common - - org.opendaylight.yangtools - yang-model-api - - - org.opendaylight.yangtools - yang-data-api - - - org.opendaylight.yangtools - yang-data-impl - - - org.opendaylight.yangtools - yang-data-codec-gson - org.opendaylight.mdsal.model ietf-topology @@ -162,30 +146,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.mdsal mdsal-binding-api - - org.opendaylight.mdsal - mdsal-binding-dom-codec - - - org.opendaylight.mdsal - mdsal-binding-dom-codec-api - - - org.opendaylight.mdsal - mdsal-binding-dom-codec-spi - - - org.opendaylight.mdsal - mdsal-binding-runtime-api - - - org.opendaylight.mdsal - mdsal-binding-runtime-spi - - - org.opendaylight.netconf.model - rfc6241 - org.opendaylight.netconf.model rfc5277 @@ -202,10 +162,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html com.google.guava guava - - com.google.code.gson - gson - @@ -222,6 +178,26 @@ and is available at http://www.eclipse.org/legal/epl-v10.html ${project.version} test + + org.opendaylight.yangtools + yang-model-api + test + + + org.opendaylight.yangtools + yang-data-api + test + + + org.opendaylight.yangtools + yang-data-impl + test + + + org.opendaylight.yangtools + yang-data-codec-gson + test + org.opendaylight.mdsal mdsal-binding-dom-adapter @@ -232,5 +208,40 @@ and is available at http://www.eclipse.org/legal/epl-v10.html mdsal-binding-generator test + + org.opendaylight.mdsal + mdsal-binding-dom-codec + test + + + org.opendaylight.mdsal + mdsal-binding-dom-codec-api + test + + + org.opendaylight.mdsal + mdsal-binding-dom-codec-spi + test + + + org.opendaylight.mdsal + mdsal-binding-runtime-api + test + + + org.opendaylight.mdsal + mdsal-binding-runtime-spi + test + + + org.opendaylight.netconf.model + rfc6241 + test + + + com.google.code.gson + gson + test + diff --git a/olm/pom.xml b/olm/pom.xml index ae8eab530..4ab2f227f 100644 --- a/olm/pom.xml +++ b/olm/pom.xml @@ -51,10 +51,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.transportpce.models openroadm-common-7.1.0 - - org.opendaylight.transportpce.models - openroadm-common-10.1.0 - org.opendaylight.transportpce.models openroadm-device-1.2.1 @@ -71,10 +67,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.transportpce.models openroadm-network-10.1.0 - - org.opendaylight.transportpce.models - openroadm-service-10.1.0 - ${project.groupId} transportpce-api @@ -93,10 +85,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.yangtools yang-common - - org.opendaylight.mdsal.binding.model.ietf - rfc6991-ietf-yang-types - org.opendaylight.mdsal.binding.model.ietf rfc8345-ietf-network @@ -121,13 +109,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html com.google.guava guava - - - com.google.code.findbugs - jsr305 - 3.0.2 - true - @@ -136,11 +117,23 @@ and is available at http://www.eclipse.org/legal/epl-v10.html ${project.version} test + + org.opendaylight.mdsal.binding.model.ietf + rfc6991-ietf-yang-types + test + org.opendaylight.mdsal mdsal-binding-generator test + + com.google.code.findbugs + jsr305 + 3.0.2 + test + true + diff --git a/pce/pom.xml b/pce/pom.xml index 015943ab5..9b073f514 100644 --- a/pce/pom.xml +++ b/pce/pom.xml @@ -59,10 +59,6 @@ org.opendaylight.transportpce.models openroadm-common-10.1.0 - - org.opendaylight.transportpce.models - openroadm-device-2.2.1 - org.opendaylight.transportpce.models openroadm-device-7.1.0 @@ -93,18 +89,10 @@ org.opendaylight.yangtools yang-common - - org.opendaylight.yangtools - yang-model-api - org.opendaylight.yangtools yang-data-api - - org.opendaylight.yangtools - yang-data-impl - org.opendaylight.yangtools yang-data-codec-gson @@ -113,10 +101,6 @@ org.opendaylight.mdsal.binding.model.ietf rfc6991-ietf-inet-types - - org.opendaylight.mdsal.binding.model.ietf - rfc6991-ietf-yang-types - org.opendaylight.mdsal.binding.model.ietf rfc8345-ietf-network @@ -137,30 +121,14 @@ org.opendaylight.mdsal mdsal-binding-api - - org.opendaylight.mdsal - mdsal-binding-dom-codec - org.opendaylight.mdsal mdsal-binding-dom-codec-spi - - org.opendaylight.mdsal - mdsal-binding-runtime-api - - - org.opendaylight.mdsal - mdsal-binding-runtime-spi - com.google.guava guava - - com.google.code.gson - gson - com.fasterxml.jackson.core jackson-annotations @@ -169,10 +137,6 @@ org.glassfish.jersey.core jersey-common - - org.glassfish.jersey.core - jersey-server - org.glassfish.jersey.core jersey-client @@ -196,22 +160,67 @@ + + org.opendaylight.transportpce.models + openroadm-device-2.2.1 + test + org.opendaylight.transportpce test-common ${project.version} test + + org.opendaylight.yangtools + yang-model-api + test + + + org.opendaylight.yangtools + yang-data-impl + test + + + org.opendaylight.mdsal.binding.model.ietf + rfc6991-ietf-yang-types + test + org.opendaylight.mdsal mdsal-binding-generator test + + org.opendaylight.mdsal + mdsal-binding-runtime-api + test + + + org.opendaylight.mdsal + mdsal-binding-runtime-spi + test + + + org.opendaylight.mdsal + mdsal-binding-dom-codec + test + org.mockito mockito-core test + + com.google.code.gson + gson + test + + + org.glassfish.jersey.core + jersey-server + test + org.glassfish.jersey.containers jersey-container-grizzly2-http diff --git a/renderer/pom.xml b/renderer/pom.xml index b7be0d8ac..2aae5491f 100644 --- a/renderer/pom.xml +++ b/renderer/pom.xml @@ -67,10 +67,6 @@ and is available at http://www.eclipse.org/legal/epl-v10.html org.opendaylight.transportpce.models openroadm-device-7.1.0 - - org.opendaylight.transportpce.models - openroadm-network-10.1.0 - org.opendaylight.transportpce.models openroadm-service-10.1.0 -- 2.36.6