From 4cb100799159806de0a0b399c2d773e44e0c9f20 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Sun, 26 Apr 2020 20:00:18 +0200 Subject: [PATCH] Add controller's single-feature-parent Sharing common knobs cuts down on duplication and allows us to keep consistency. Change-Id: I796218c981d3278f0fbe2b62e4a51a97577caad0 Signed-off-by: Robert Varga --- artifacts/pom.xml | 97 ++++++++++++++----- features/odl-benchmark-api/pom.xml | 10 +- features/odl-clustering-test-app/pom.xml | 21 +--- features/odl-config-netty/pom.xml | 28 ++---- features/odl-controller-blueprint/pom.xml | 28 +----- features/odl-controller-mdsal-common/pom.xml | 27 +----- .../odl-controller-model-topology/pom.xml | 25 +---- features/odl-dsbenchmark/pom.xml | 13 ++- features/odl-jolokia/pom.xml | 8 +- features/odl-mdsal-benchmark/pom.xml | 17 ++-- features/odl-mdsal-broker-local/pom.xml | 33 +------ features/odl-mdsal-broker/pom.xml | 30 +----- features/odl-mdsal-clustering-commons/pom.xml | 27 ++---- .../odl-mdsal-distributed-datastore/pom.xml | 65 ++++--------- features/odl-mdsal-model-inventory/pom.xml | 25 +---- .../odl-mdsal-remoterpc-connector/pom.xml | 22 +---- features/odl-message-bus-collector/pom.xml | 26 +---- features/odl-ntfbenchmark/pom.xml | 13 ++- features/odl-toaster/pom.xml | 10 +- features/pom.xml | 3 + features/single-feature-parent/pom.xml | 34 +++++++ 21 files changed, 208 insertions(+), 354 deletions(-) create mode 100644 features/single-feature-parent/pom.xml diff --git a/artifacts/pom.xml b/artifacts/pom.xml index 8a009390f5..d11ef7c5ec 100644 --- a/artifacts/pom.xml +++ b/artifacts/pom.xml @@ -231,6 +231,48 @@ ${project.version} + + + + ${project.groupId} + sal-clustering-config + ${project.version} + xml + akkaconf + + + + ${project.groupId} + sal-clustering-config + ${project.version} + xml + factoryakkaconf + + + + ${project.groupId} + sal-clustering-config + ${project.version} + xml + moduleshardconf + + + + ${project.groupId} + sal-clustering-config + ${project.version} + xml + moduleconf + + + + ${project.groupId} + sal-clustering-config + ${project.version} + cfg + datastore + + ${project.groupId} @@ -337,30 +379,37 @@ - - ${project.groupId} - netty-event-executor-config - 0.13.0-SNAPSHOT - - - ${project.groupId} - netty-threadgroup-config - 0.13.0-SNAPSHOT - - - ${project.groupId} - netty-timer-config - 0.13.0-SNAPSHOT - - - ${project.groupId} - threadpool-config-api - 0.13.0-SNAPSHOT - - - ${project.groupId} - threadpool-config-impl - 0.13.0-SNAPSHOT + + ${project.groupId} + netty-event-executor-config + 0.13.0-SNAPSHOT + + + ${project.groupId} + netty-threadgroup-config + 0.13.0-SNAPSHOT + + + ${project.groupId} + netty-timer-config + 0.13.0-SNAPSHOT + + + ${project.groupId} + threadpool-config-api + 0.13.0-SNAPSHOT + + + ${project.groupId} + threadpool-config-impl + 0.13.0-SNAPSHOT + + + ${project.groupId} + odl-config-netty + 0.13.0-SNAPSHOT + features + xml diff --git a/features/odl-benchmark-api/pom.xml b/features/odl-benchmark-api/pom.xml index 9d9c8f9ba1..255ad1a83b 100644 --- a/features/odl-benchmark-api/pom.xml +++ b/features/odl-benchmark-api/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -27,14 +27,12 @@ org.opendaylight.mdsal odl-mdsal-binding-base - 6.0.0 xml features - ${project.groupId} + org.opendaylight.controller benchmark-api - ${project.version} diff --git a/features/odl-clustering-test-app/pom.xml b/features/odl-clustering-test-app/pom.xml index 4b6057c7c4..69c6e07856 100644 --- a/features/odl-clustering-test-app/pom.xml +++ b/features/odl-clustering-test-app/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -21,18 +21,6 @@ 1.12.0-SNAPSHOT feature - - - - org.opendaylight.mdsal - mdsal-artifacts - 6.0.0 - import - pom - - - - org.opendaylight.mdsal.model @@ -41,9 +29,8 @@ features - ${project.groupId} + org.opendaylight.controller odl-mdsal-broker - ${project.version} xml features diff --git a/features/odl-config-netty/pom.xml b/features/odl-config-netty/pom.xml index 7419a06671..ece654dfc3 100644 --- a/features/odl-config-netty/pom.xml +++ b/features/odl-config-netty/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -23,18 +23,6 @@ OpenDaylight :: Config-Netty - - - - ${project.groupId} - controller-artifacts - 1.12.0-SNAPSHOT - pom - import - - - - org.opendaylight.odlparent @@ -49,23 +37,23 @@ features - ${project.groupId} + org.opendaylight.controller netty-event-executor-config - ${project.groupId} + org.opendaylight.controller netty-threadgroup-config - ${project.groupId} + org.opendaylight.controller netty-timer-config - ${project.groupId} + org.opendaylight.controller threadpool-config-api - ${project.groupId} + org.opendaylight.controller threadpool-config-impl diff --git a/features/odl-controller-blueprint/pom.xml b/features/odl-controller-blueprint/pom.xml index e5caa982cf..331a24bb7a 100644 --- a/features/odl-controller-blueprint/pom.xml +++ b/features/odl-controller-blueprint/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -25,28 +25,10 @@ OpenDaylight Controller Blueprint Extension + 0.13.0-SNAPSHOT - - - - org.opendaylight.yangtools - yangtools-artifacts - 5.0.1 - pom - import - - - org.opendaylight.mdsal - mdsal-artifacts - 6.0.0 - pom - import - - - - org.opendaylight.yangtools @@ -73,7 +55,7 @@ features - ${project.groupId} + org.opendaylight.controller blueprint ${blueprint.version} diff --git a/features/odl-controller-mdsal-common/pom.xml b/features/odl-controller-mdsal-common/pom.xml index ea8b0eef5e..99df67ff5a 100644 --- a/features/odl-controller-mdsal-common/pom.xml +++ b/features/odl-controller-mdsal-common/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -23,25 +23,6 @@ OpenDaylight :: MDSAL :: Common - - - - org.opendaylight.mdsal - mdsal-artifacts - 6.0.0 - pom - import - - - org.opendaylight.controller - controller-artifacts - 1.12.0-SNAPSHOT - pom - import - - - - org.opendaylight.mdsal @@ -56,7 +37,7 @@ features - ${project.groupId} + org.opendaylight.controller sal-common-util diff --git a/features/odl-controller-model-topology/pom.xml b/features/odl-controller-model-topology/pom.xml index 38afe0e0b4..0d70acc4a5 100644 --- a/features/odl-controller-model-topology/pom.xml +++ b/features/odl-controller-model-topology/pom.xml @@ -9,10 +9,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -22,25 +22,6 @@ OpenDaylight :: MD-SAL :: Topology Model - - - - org.opendaylight.mdsal - mdsal-artifacts - 6.0.0 - pom - import - - - org.opendaylight.controller - controller-artifacts - 1.12.0-SNAPSHOT - pom - import - - - - org.opendaylight.mdsal.model diff --git a/features/odl-dsbenchmark/pom.xml b/features/odl-dsbenchmark/pom.xml index af689525eb..6caab98e69 100644 --- a/features/odl-dsbenchmark/pom.xml +++ b/features/odl-dsbenchmark/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -25,21 +25,20 @@ - ${project.groupId} + org.opendaylight.controller odl-mdsal-broker - 1.12.0-SNAPSHOT xml features - ${project.groupId} + org.opendaylight.controller odl-benchmark-api ${project.version} xml features - ${project.groupId} + org.opendaylight.controller dsbenchmark ${project.version} diff --git a/features/odl-jolokia/pom.xml b/features/odl-jolokia/pom.xml index 0e0f06776c..5414e0bc09 100644 --- a/features/odl-jolokia/pom.xml +++ b/features/odl-jolokia/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -34,7 +34,7 @@ - ${project.groupId} + org.opendaylight.controller odl-jolokia-osgi ${odl-jolokia-osgi.version} cfg diff --git a/features/odl-mdsal-benchmark/pom.xml b/features/odl-mdsal-benchmark/pom.xml index 1d971bcd8d..9144c321a2 100644 --- a/features/odl-mdsal-benchmark/pom.xml +++ b/features/odl-mdsal-benchmark/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -25,35 +25,34 @@ - ${project.groupId} + org.opendaylight.controller odl-mdsal-broker - 1.12.0-SNAPSHOT xml features - ${project.groupId} + org.opendaylight.controller odl-benchmark-api ${project.version} xml features - ${project.groupId} + org.opendaylight.controller odl-dsbenchmark ${project.version} xml features - ${project.groupId} + org.opendaylight.controller odl-ntfbenchmark ${project.version} xml features - ${project.groupId} + org.opendaylight.controller rpcbenchmark ${project.version} diff --git a/features/odl-mdsal-broker-local/pom.xml b/features/odl-mdsal-broker-local/pom.xml index 56b08b4c4e..db6e40e7b2 100644 --- a/features/odl-mdsal-broker-local/pom.xml +++ b/features/odl-mdsal-broker-local/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -32,32 +32,6 @@ true - - - - org.opendaylight.yangtools - yangtools-artifacts - 5.0.1 - pom - import - - - org.opendaylight.mdsal - mdsal-artifacts - 6.0.0 - pom - import - - - org.opendaylight.controller - controller-artifacts - 1.12.0-SNAPSHOT - pom - import - - - - org.opendaylight.mdsal @@ -93,7 +67,6 @@ org.opendaylight.controller odl-config-netty - 0.13.0-SNAPSHOT xml features diff --git a/features/odl-mdsal-broker/pom.xml b/features/odl-mdsal-broker/pom.xml index 1a7f92a495..7b1bbf6ed9 100644 --- a/features/odl-mdsal-broker/pom.xml +++ b/features/odl-mdsal-broker/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -24,25 +24,6 @@ OpenDaylight :: MDSAL :: Broker (clustered) OpenDaylight Controller stack with clustering - - - - org.opendaylight.mdsal - mdsal-artifacts - 6.0.0 - pom - import - - - org.opendaylight.controller - controller-artifacts - 1.12.0-SNAPSHOT - pom - import - - - - org.opendaylight.mdsal @@ -58,13 +39,13 @@ - ${project.groupId} + org.opendaylight.controller odl-mdsal-remoterpc-connector xml features - ${project.groupId} + org.opendaylight.controller odl-mdsal-distributed-datastore xml features @@ -73,7 +54,6 @@ org.opendaylight.controller odl-config-netty - 0.13.0-SNAPSHOT xml features diff --git a/features/odl-mdsal-clustering-commons/pom.xml b/features/odl-mdsal-clustering-commons/pom.xml index 9d72da1d01..adf146e361 100644 --- a/features/odl-mdsal-clustering-commons/pom.xml +++ b/features/odl-mdsal-clustering-commons/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -24,18 +24,6 @@ OpenDaylight :: Controller :: Clustering Commons Common Clustering utilities - - - - org.opendaylight.yangtools - yangtools-artifacts - 5.0.1 - pom - import - - - - org.opendaylight.odlparent @@ -87,21 +75,18 @@ - ${project.groupId} + org.opendaylight.controller sal-clustering-commons - ${project.version} - ${project.groupId} + org.opendaylight.controller sal-akka-raft - ${project.version} - ${project.groupId} + org.opendaylight.controller sal-akka-segmented-journal - ${project.version} com.esotericsoftware diff --git a/features/odl-mdsal-distributed-datastore/pom.xml b/features/odl-mdsal-distributed-datastore/pom.xml index 75cb0c5367..ce900f84cc 100644 --- a/features/odl-mdsal-distributed-datastore/pom.xml +++ b/features/odl-mdsal-distributed-datastore/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -24,32 +24,6 @@ OpenDaylight :: Controller :: Clustered Datastore Controller Clustered Datastore (akka-based) - - - - org.opendaylight.yangtools - yangtools-artifacts - 5.0.1 - pom - import - - - org.opendaylight.mdsal - mdsal-artifacts - 6.0.0 - pom - import - - - org.opendaylight.controller - controller-artifacts - 1.12.0-SNAPSHOT - pom - import - - - - org.opendaylight.odlparent @@ -82,83 +56,78 @@ features - ${project.groupId} + org.opendaylight.controller odl-mdsal-clustering-commons xml features - ${project.groupId} + org.opendaylight.controller odl-controller-blueprint xml features - ${project.groupId} + org.opendaylight.controller cds-access-api - ${project.groupId} + org.opendaylight.controller cds-access-client - ${project.groupId} + org.opendaylight.controller cds-dom-api - ${project.groupId} + org.opendaylight.controller sal-distributed-datastore - ${project.groupId} + org.opendaylight.controller sal-distributed-eos - ${project.groupId} + org.opendaylight.controller sal-cluster-admin-api - ${project.groupId} + org.opendaylight.controller sal-cluster-admin-impl - ${project.groupId} + org.opendaylight.controller sal-clustering-config - ${project.version} xml akkaconf - ${project.groupId} + org.opendaylight.controller sal-clustering-config - ${project.version} xml factoryakkaconf - ${project.groupId} + org.opendaylight.controller sal-clustering-config - ${project.version} xml moduleshardconf - ${project.groupId} + org.opendaylight.controller sal-clustering-config - ${project.version} xml moduleconf - ${project.groupId} + org.opendaylight.controller sal-clustering-config - ${project.version} cfg datastore diff --git a/features/odl-mdsal-model-inventory/pom.xml b/features/odl-mdsal-model-inventory/pom.xml index 4d5eba1110..e2c19f4374 100644 --- a/features/odl-mdsal-model-inventory/pom.xml +++ b/features/odl-mdsal-model-inventory/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -23,25 +23,6 @@ OpenDaylight :: MD-SAL :: Inventory Model - - - - org.opendaylight.mdsal - mdsal-artifacts - 6.0.0 - pom - import - - - org.opendaylight.controller - controller-artifacts - 1.12.0-SNAPSHOT - pom - import - - - - org.opendaylight.mdsal.model diff --git a/features/odl-mdsal-remoterpc-connector/pom.xml b/features/odl-mdsal-remoterpc-connector/pom.xml index a2d1743e58..6f4631b0b8 100644 --- a/features/odl-mdsal-remoterpc-connector/pom.xml +++ b/features/odl-mdsal-remoterpc-connector/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -24,27 +24,15 @@ OpenDaylight :: Controller :: Remote RPC Connector Clustering remote RPC support - - - - ${project.groupId} - controller-artifacts - 1.12.0-SNAPSHOT - pom - import - - - - - ${project.groupId} + org.opendaylight.controller odl-mdsal-distributed-datastore xml features - ${project.groupId} + org.opendaylight.controller sal-remoterpc-connector diff --git a/features/odl-message-bus-collector/pom.xml b/features/odl-message-bus-collector/pom.xml index 23212f7e3a..fbc133bf69 100644 --- a/features/odl-message-bus-collector/pom.xml +++ b/features/odl-message-bus-collector/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -25,27 +25,7 @@ etc/opendaylight/karaf - - - - org.opendaylight.controller - controller-artifacts - ${project.version} - pom - import - - - org.opendaylight.mdsal - mdsal-artifacts - 6.0.0 - pom - import - - - - - org.opendaylight.controller odl-mdsal-model-inventory diff --git a/features/odl-ntfbenchmark/pom.xml b/features/odl-ntfbenchmark/pom.xml index ddc539bf94..867d6e4b78 100644 --- a/features/odl-ntfbenchmark/pom.xml +++ b/features/odl-ntfbenchmark/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -25,21 +25,20 @@ - ${project.groupId} + org.opendaylight.controller odl-mdsal-broker - 1.12.0-SNAPSHOT xml features - ${project.groupId} + org.opendaylight.controller odl-benchmark-api ${project.version} xml features - ${project.groupId} + org.opendaylight.controller ntfbenchmark ${project.version} diff --git a/features/odl-toaster/pom.xml b/features/odl-toaster/pom.xml index 51ff3b250b..9d3c812996 100644 --- a/features/odl-toaster/pom.xml +++ b/features/odl-toaster/pom.xml @@ -10,10 +10,10 @@ 4.0.0 - org.opendaylight.odlparent + org.opendaylight.controller single-feature-parent - 7.0.1 - + 1.12.0-SNAPSHOT + ../single-feature-parent org.opendaylight.controller @@ -27,14 +27,12 @@ org.opendaylight.mdsal odl-mdsal-binding-runtime - 6.0.0 xml features - ${project.groupId} + org.opendaylight.controller odl-mdsal-broker - ${project.version} xml features diff --git a/features/pom.xml b/features/pom.xml index 185b0263bd..29ae8cb22b 100644 --- a/features/pom.xml +++ b/features/pom.xml @@ -26,6 +26,9 @@ + + single-feature-parent + odl-benchmark-api odl-clustering-test-app diff --git a/features/single-feature-parent/pom.xml b/features/single-feature-parent/pom.xml new file mode 100644 index 0000000000..8a0e97129c --- /dev/null +++ b/features/single-feature-parent/pom.xml @@ -0,0 +1,34 @@ + + + + 4.0.0 + + org.opendaylight.odlparent + single-feature-parent + 7.0.1 + + + + org.opendaylight.controller + single-feature-parent + 1.12.0-SNAPSHOT + pom + + + + + org.opendaylight.controller + mdsal-parent + 1.12.0-SNAPSHOT + pom + import + + + + -- 2.36.6