From 68806bf91d781e1ab920c0051e986534b4e3d801 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 2 May 2023 10:20:18 +0200 Subject: [PATCH] Separate out model packaging Add separate features for standard IETF models. Also clean up other dependencies, minimizing duplicate packaging of artifacts. JIRA: NETCONF-1005 Change-Id: Id076ac8a1fdc2c3ee3521f31ec8f5a6af3e5cb69 Signed-off-by: Robert Varga --- artifacts/pom.xml | 63 +++++++++++++++++++ features/features-netconf/pom.xml | 18 ++++++ features/odl-netconf-api/pom.xml | 30 +++++---- .../src/main/feature/feature.xml | 1 - features/odl-netconf-connector/pom.xml | 23 ++++--- features/odl-netconf-impl/pom.xml | 7 +++ features/odl-netconf-model-rfc5277/pom.xml | 36 +++++++++++ .../src/main/feature/feature.xml | 13 ++++ features/odl-netconf-model-rfc6022/pom.xml | 36 +++++++++++ .../src/main/feature/feature.xml | 13 ++++ features/odl-netconf-model-rfc6241/pom.xml | 36 +++++++++++ .../src/main/feature/feature.xml | 13 ++++ features/odl-netconf-model-rfc6243/pom.xml | 36 +++++++++++ features/odl-netconf-model-rfc6470/pom.xml | 36 +++++++++++ features/odl-netconf-model-rfc8040/pom.xml | 36 +++++++++++ .../src/main/feature/feature.xml | 13 ++++ features/odl-netconf-model-rfc8341/pom.xml | 36 +++++++++++ .../src/main/feature/feature.xml | 13 ++++ features/odl-netconf-model-rfc8526/pom.xml | 42 +++++++++++++ .../src/main/feature/feature.xml | 13 ++++ features/odl-netconf-model-rfc8639/pom.xml | 60 ++++++++++++++++++ .../src/main/feature/feature.xml | 16 +++++ features/odl-netconf-util/pom.xml | 7 +++ features/odl-restconf-common/pom.xml | 8 ++- features/pom.xml | 10 +++ 25 files changed, 591 insertions(+), 24 deletions(-) create mode 100644 features/odl-netconf-model-rfc5277/pom.xml create mode 100644 features/odl-netconf-model-rfc5277/src/main/feature/feature.xml create mode 100644 features/odl-netconf-model-rfc6022/pom.xml create mode 100644 features/odl-netconf-model-rfc6022/src/main/feature/feature.xml create mode 100644 features/odl-netconf-model-rfc6241/pom.xml create mode 100644 features/odl-netconf-model-rfc6241/src/main/feature/feature.xml create mode 100644 features/odl-netconf-model-rfc6243/pom.xml create mode 100644 features/odl-netconf-model-rfc6470/pom.xml create mode 100644 features/odl-netconf-model-rfc8040/pom.xml create mode 100644 features/odl-netconf-model-rfc8040/src/main/feature/feature.xml create mode 100644 features/odl-netconf-model-rfc8341/pom.xml create mode 100644 features/odl-netconf-model-rfc8341/src/main/feature/feature.xml create mode 100644 features/odl-netconf-model-rfc8526/pom.xml create mode 100644 features/odl-netconf-model-rfc8526/src/main/feature/feature.xml create mode 100644 features/odl-netconf-model-rfc8639/pom.xml create mode 100644 features/odl-netconf-model-rfc8639/src/main/feature/feature.xml diff --git a/artifacts/pom.xml b/artifacts/pom.xml index 73c1ee0742..0bf8260024 100644 --- a/artifacts/pom.xml +++ b/artifacts/pom.xml @@ -366,6 +366,69 @@ xml features + + ${project.groupId} + odl-netconf-model-rfc5277 + ${project.version} + xml + features + + + ${project.groupId} + odl-netconf-model-rfc6022 + ${project.version} + xml + features + + + ${project.groupId} + odl-netconf-model-rfc6241 + ${project.version} + xml + features + + + ${project.groupId} + odl-netconf-model-rfc6243 + ${project.version} + xml + features + + + ${project.groupId} + odl-netconf-model-rfc6470 + ${project.version} + xml + features + + + ${project.groupId} + odl-netconf-model-rfc8040 + ${project.version} + xml + features + + + ${project.groupId} + odl-netconf-model-rfc8341 + ${project.version} + xml + features + + + ${project.groupId} + odl-netconf-model-rfc8526 + ${project.version} + xml + features + + + ${project.groupId} + odl-netconf-model-rfc8639 + ${project.version} + xml + features + ${project.groupId} odl-netconf-monitoring diff --git a/features/features-netconf/pom.xml b/features/features-netconf/pom.xml index f69d8de3e3..880c1a4416 100644 --- a/features/features-netconf/pom.xml +++ b/features/features-netconf/pom.xml @@ -70,6 +70,24 @@ xml features + + org.opendaylight.netconf + odl-netconf-model-rfc5277 + xml + features + + + org.opendaylight.netconf + odl-netconf-model-rfc6022 + xml + features + + + org.opendaylight.netconf + odl-netconf-model-rfc6241 + xml + features + org.opendaylight.netconf odl-netconf-netty-util diff --git a/features/odl-netconf-api/pom.xml b/features/odl-netconf-api/pom.xml index 9cfef994b8..32135a201f 100644 --- a/features/odl-netconf-api/pom.xml +++ b/features/odl-netconf-api/pom.xml @@ -35,36 +35,42 @@ org.opendaylight.mdsal.model - odl-mdsal-model-rfc8342 + odl-mdsal-model-rfc8525 xml features - org.opendaylight.mdsal.model - odl-mdsal-model-rfc8525 + org.opendaylight.netconf + odl-netconf-model-rfc5277 xml features - org.opendaylight.netconf - netconf-api + odl-netconf-model-rfc6241 + xml + features org.opendaylight.netconf - netconf-auth + odl-netconf-model-rfc6470 + xml + features - org.opendaylight.netconf.model - rfc5277 + org.opendaylight.netconf + odl-netconf-model-rfc8526 + xml + features + - org.opendaylight.netconf.model - rfc6470 + org.opendaylight.netconf + netconf-api - org.opendaylight.netconf.model - rfc8526 + org.opendaylight.netconf + netconf-auth diff --git a/features/odl-netconf-api/src/main/feature/feature.xml b/features/odl-netconf-api/src/main/feature/feature.xml index fc18f6bfeb..f7118c19bc 100644 --- a/features/odl-netconf-api/src/main/feature/feature.xml +++ b/features/odl-netconf-api/src/main/feature/feature.xml @@ -11,6 +11,5 @@ odl-netty-4 odl-yangtools-parser-api odl-mdsal-model-rfc8525 - odl-mdsal-model-rfc8342 diff --git a/features/odl-netconf-connector/pom.xml b/features/odl-netconf-connector/pom.xml index 49f8a5b1a3..a2c6d26fee 100644 --- a/features/odl-netconf-connector/pom.xml +++ b/features/odl-netconf-connector/pom.xml @@ -22,12 +22,24 @@ OpenDaylight :: Netconf Connector :: Netconf Connector + + org.opendaylight.mdsal.model + odl-mdsal-model-draft-clemm-netmod-yang-network-topo-01-minimal + xml + features + org.opendaylight.controller odl-mdsal-broker xml features + + org.opendaylight.aaa + odl-aaa-encryption-service + xml + features + org.opendaylight.netconf odl-netconf-client @@ -35,11 +47,12 @@ features - org.opendaylight.mdsal.model - odl-mdsal-model-draft-clemm-netmod-yang-network-topo-01-minimal + org.opendaylight.netconf + odl-netconf-model-rfc6022 xml features + com.google.code.gson gson @@ -48,11 +61,5 @@ org.opendaylight.netconf sal-netconf-connector - - org.opendaylight.aaa - odl-aaa-encryption-service - xml - features - diff --git a/features/odl-netconf-impl/pom.xml b/features/odl-netconf-impl/pom.xml index 9f836ebbc6..833dc06fad 100644 --- a/features/odl-netconf-impl/pom.xml +++ b/features/odl-netconf-impl/pom.xml @@ -45,6 +45,13 @@ xml features + + org.opendaylight.netconf + odl-netconf-model-rfc6022 + xml + features + + org.opendaylight.netconf netconf-server diff --git a/features/odl-netconf-model-rfc5277/pom.xml b/features/odl-netconf-model-rfc5277/pom.xml new file mode 100644 index 0000000000..ee5e1a86bc --- /dev/null +++ b/features/odl-netconf-model-rfc5277/pom.xml @@ -0,0 +1,36 @@ + + + + 4.0.0 + + + org.opendaylight.netconf + feature-parent + 6.0.0-SNAPSHOT + ../parent + + + odl-netconf-model-rfc5277 + feature + OpenDaylight :: Netconf :: RFC5277 Models + + + + org.opendaylight.mdsal.model + odl-mdsal-model-rfc6991 + xml + features + + + + org.opendaylight.netconf.model + rfc5277 + + + diff --git a/features/odl-netconf-model-rfc5277/src/main/feature/feature.xml b/features/odl-netconf-model-rfc5277/src/main/feature/feature.xml new file mode 100644 index 0000000000..c505caf865 --- /dev/null +++ b/features/odl-netconf-model-rfc5277/src/main/feature/feature.xml @@ -0,0 +1,13 @@ + + + + + odl-mdsal-model-rfc6991 + + diff --git a/features/odl-netconf-model-rfc6022/pom.xml b/features/odl-netconf-model-rfc6022/pom.xml new file mode 100644 index 0000000000..5450600678 --- /dev/null +++ b/features/odl-netconf-model-rfc6022/pom.xml @@ -0,0 +1,36 @@ + + + + 4.0.0 + + + org.opendaylight.netconf + feature-parent + 6.0.0-SNAPSHOT + ../parent + + + odl-netconf-model-rfc6022 + feature + OpenDaylight :: Netconf :: RFC6022 Models + + + + org.opendaylight.mdsal.model + odl-mdsal-model-rfc6991 + xml + features + + + + org.opendaylight.netconf.model + rfc6022 + + + diff --git a/features/odl-netconf-model-rfc6022/src/main/feature/feature.xml b/features/odl-netconf-model-rfc6022/src/main/feature/feature.xml new file mode 100644 index 0000000000..64f21e5c96 --- /dev/null +++ b/features/odl-netconf-model-rfc6022/src/main/feature/feature.xml @@ -0,0 +1,13 @@ + + + + + odl-mdsal-model-rfc6991 + + diff --git a/features/odl-netconf-model-rfc6241/pom.xml b/features/odl-netconf-model-rfc6241/pom.xml new file mode 100644 index 0000000000..674be1e83d --- /dev/null +++ b/features/odl-netconf-model-rfc6241/pom.xml @@ -0,0 +1,36 @@ + + + + 4.0.0 + + + org.opendaylight.netconf + feature-parent + 6.0.0-SNAPSHOT + ../parent + + + odl-netconf-model-rfc6241 + feature + OpenDaylight :: Netconf :: RFC6241 Models + + + + org.opendaylight.mdsal.model + odl-mdsal-model-rfc6991 + xml + features + + + + org.opendaylight.netconf.model + rfc6241 + + + diff --git a/features/odl-netconf-model-rfc6241/src/main/feature/feature.xml b/features/odl-netconf-model-rfc6241/src/main/feature/feature.xml new file mode 100644 index 0000000000..5eb64b969e --- /dev/null +++ b/features/odl-netconf-model-rfc6241/src/main/feature/feature.xml @@ -0,0 +1,13 @@ + + + + + odl-mdsal-model-rfc6991 + + diff --git a/features/odl-netconf-model-rfc6243/pom.xml b/features/odl-netconf-model-rfc6243/pom.xml new file mode 100644 index 0000000000..43bceb8f15 --- /dev/null +++ b/features/odl-netconf-model-rfc6243/pom.xml @@ -0,0 +1,36 @@ + + + + 4.0.0 + + + org.opendaylight.netconf + feature-parent + 6.0.0-SNAPSHOT + ../parent + + + odl-netconf-model-rfc6243 + feature + OpenDaylight :: Netconf :: RFC6243 Models + + + + org.opendaylight.netconf + odl-netconf-model-rfc6241 + xml + features + + + + org.opendaylight.netconf.model + rfc6243 + + + diff --git a/features/odl-netconf-model-rfc6470/pom.xml b/features/odl-netconf-model-rfc6470/pom.xml new file mode 100644 index 0000000000..cd022ab6bf --- /dev/null +++ b/features/odl-netconf-model-rfc6470/pom.xml @@ -0,0 +1,36 @@ + + + + 4.0.0 + + + org.opendaylight.netconf + feature-parent + 6.0.0-SNAPSHOT + ../parent + + + odl-netconf-model-rfc6470 + feature + OpenDaylight :: Netconf :: RFC6470 Models + + + + org.opendaylight.netconf + odl-netconf-model-rfc6241 + xml + features + + + + org.opendaylight.netconf.model + rfc6470 + + + diff --git a/features/odl-netconf-model-rfc8040/pom.xml b/features/odl-netconf-model-rfc8040/pom.xml new file mode 100644 index 0000000000..31f559f004 --- /dev/null +++ b/features/odl-netconf-model-rfc8040/pom.xml @@ -0,0 +1,36 @@ + + + + 4.0.0 + + + org.opendaylight.netconf + feature-parent + 6.0.0-SNAPSHOT + ../parent + + + odl-netconf-model-rfc8040 + feature + OpenDaylight :: Netconf :: RFC8040 Models + + + + org.opendaylight.mdsal.model + odl-mdsal-model-rfc6991 + xml + features + + + + org.opendaylight.netconf.model + rfc8040-ietf-restconf-monitoring + + + diff --git a/features/odl-netconf-model-rfc8040/src/main/feature/feature.xml b/features/odl-netconf-model-rfc8040/src/main/feature/feature.xml new file mode 100644 index 0000000000..652c8e3779 --- /dev/null +++ b/features/odl-netconf-model-rfc8040/src/main/feature/feature.xml @@ -0,0 +1,13 @@ + + + + + odl-mdsal-model-rfc6991 + + diff --git a/features/odl-netconf-model-rfc8341/pom.xml b/features/odl-netconf-model-rfc8341/pom.xml new file mode 100644 index 0000000000..bb739def87 --- /dev/null +++ b/features/odl-netconf-model-rfc8341/pom.xml @@ -0,0 +1,36 @@ + + + + 4.0.0 + + + org.opendaylight.netconf + feature-parent + 6.0.0-SNAPSHOT + ../parent + + + odl-netconf-model-rfc8341 + feature + OpenDaylight :: Netconf :: RFC8341 Models + + + + org.opendaylight.mdsal.model + odl-mdsal-model-rfc6991 + xml + features + + + + org.opendaylight.netconf.model + rfc8341 + + + diff --git a/features/odl-netconf-model-rfc8341/src/main/feature/feature.xml b/features/odl-netconf-model-rfc8341/src/main/feature/feature.xml new file mode 100644 index 0000000000..58604263a7 --- /dev/null +++ b/features/odl-netconf-model-rfc8341/src/main/feature/feature.xml @@ -0,0 +1,13 @@ + + + + + odl-mdsal-model-rfc6991 + + diff --git a/features/odl-netconf-model-rfc8526/pom.xml b/features/odl-netconf-model-rfc8526/pom.xml new file mode 100644 index 0000000000..e50c3dee52 --- /dev/null +++ b/features/odl-netconf-model-rfc8526/pom.xml @@ -0,0 +1,42 @@ + + + + 4.0.0 + + + org.opendaylight.netconf + feature-parent + 6.0.0-SNAPSHOT + ../parent + + + odl-netconf-model-rfc8526 + feature + OpenDaylight :: Netconf :: RFC8526 Models + + + + org.opendaylight.netconf + odl-netconf-model-rfc6243 + xml + features + + + org.opendaylight.mdsal.model + odl-mdsal-model-rfc8342 + xml + features + + + + org.opendaylight.netconf.model + rfc8526 + + + diff --git a/features/odl-netconf-model-rfc8526/src/main/feature/feature.xml b/features/odl-netconf-model-rfc8526/src/main/feature/feature.xml new file mode 100644 index 0000000000..e3686dac4e --- /dev/null +++ b/features/odl-netconf-model-rfc8526/src/main/feature/feature.xml @@ -0,0 +1,13 @@ + + + + + odl-mdsal-model-rfc8342 + + diff --git a/features/odl-netconf-model-rfc8639/pom.xml b/features/odl-netconf-model-rfc8639/pom.xml new file mode 100644 index 0000000000..3a58c5f379 --- /dev/null +++ b/features/odl-netconf-model-rfc8639/pom.xml @@ -0,0 +1,60 @@ + + + + 4.0.0 + + + org.opendaylight.netconf + feature-parent + 6.0.0-SNAPSHOT + ../parent + + + odl-netconf-model-rfc8639 + feature + OpenDaylight :: Netconf :: RFC8639 Models + + + + org.opendaylight.mdsal.model + odl-mdsal-model-rfc8040 + xml + features + + + org.opendaylight.mdsal.model + odl-mdsal-model-rfc8343 + xml + features + + + org.opendaylight.mdsal.model + odl-mdsal-model-rfc8528 + xml + features + + + org.opendaylight.mdsal.model + odl-mdsal-model-rfc8529 + xml + features + + + org.opendaylight.netconf + odl-netconf-model-rfc8341 + xml + features + + + + org.opendaylight.netconf.model + rfc8639 + + + diff --git a/features/odl-netconf-model-rfc8639/src/main/feature/feature.xml b/features/odl-netconf-model-rfc8639/src/main/feature/feature.xml new file mode 100644 index 0000000000..2b38f01ea4 --- /dev/null +++ b/features/odl-netconf-model-rfc8639/src/main/feature/feature.xml @@ -0,0 +1,16 @@ + + + + + odl-mdsal-model-rfc8040 + odl-mdsal-model-rfc8343 + odl-mdsal-model-rfc8528 + odl-mdsal-model-rfc8529 + + diff --git a/features/odl-netconf-util/pom.xml b/features/odl-netconf-util/pom.xml index 1310d9325b..c06e015541 100644 --- a/features/odl-netconf-util/pom.xml +++ b/features/odl-netconf-util/pom.xml @@ -26,6 +26,13 @@ xml features + + org.opendaylight.netconf + odl-netconf-api + xml + features + + org.opendaylight.netconf netconf-common-mdsal diff --git a/features/odl-restconf-common/pom.xml b/features/odl-restconf-common/pom.xml index 6e87d63acd..5ea6f339c5 100644 --- a/features/odl-restconf-common/pom.xml +++ b/features/odl-restconf-common/pom.xml @@ -57,11 +57,13 @@ xml features - - org.opendaylight.netconf.model - rfc8040-ietf-restconf-monitoring + org.opendaylight.netconf + odl-netconf-model-rfc8040 + xml + features + org.opendaylight.netconf restconf-common-models diff --git a/features/pom.xml b/features/pom.xml index 950f1235fe..3257de36ed 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -30,6 +30,16 @@ features-netconf features-netconf-testing + odl-netconf-model-rfc5277 + odl-netconf-model-rfc6022 + odl-netconf-model-rfc6241 + odl-netconf-model-rfc6243 + odl-netconf-model-rfc6470 + odl-netconf-model-rfc8040 + odl-netconf-model-rfc8341 + odl-netconf-model-rfc8526 + odl-netconf-model-rfc8639 + odl-aaa-netconf-plugin odl-mdsal-apidocs odl-netconf-all -- 2.36.6