From 2640fe68e478020a4d82b55326b94944485023b3 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Mon, 6 May 2019 18:41:46 +0200 Subject: [PATCH] Refactor odl-mdsal-clustering-commons odl-mdsal-clustering-commons does not have a dependency on odl-mdsal-broker-local, hence we can factor it out to pull in its upstream dependencies, thus fixing its tests. JIRA: CONTROLLER-1584 Change-Id: Ie1df487329df8ea1295e0e2dc3b0e0f07e2e4037 Signed-off-by: Robert Varga --- .../odl-mdsal-clustering-commons/pom.xml | 32 ++++++++++++------- .../src/main/feature/feature.xml | 1 + features/mdsal/pom.xml | 4 ++- 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/features/mdsal/odl-mdsal-clustering-commons/pom.xml b/features/mdsal/odl-mdsal-clustering-commons/pom.xml index 7b86107bd6..e6ce2fd425 100644 --- a/features/mdsal/odl-mdsal-clustering-commons/pom.xml +++ b/features/mdsal/odl-mdsal-clustering-commons/pom.xml @@ -21,19 +21,22 @@ 1.10.0-SNAPSHOT feature - - - true - + OpenDaylight :: Controller :: Clustering Commons + Common Clustering utilities + + + + + org.opendaylight.yangtools + yangtools-artifacts + 3.0.0 + pom + import + + + - - ${project.groupId} - odl-mdsal-broker-local - ${project.version} - xml - features - org.opendaylight.odlparent odl-akka-system-2.5 @@ -70,6 +73,13 @@ xml features + + org.opendaylight.yangtools + odl-yangtools-data + xml + features + + ${project.groupId} sal-clustering-commons diff --git a/features/mdsal/odl-mdsal-clustering-commons/src/main/feature/feature.xml b/features/mdsal/odl-mdsal-clustering-commons/src/main/feature/feature.xml index 85426c19b4..71e9e5ad75 100644 --- a/features/mdsal/odl-mdsal-clustering-commons/src/main/feature/feature.xml +++ b/features/mdsal/odl-mdsal-clustering-commons/src/main/feature/feature.xml @@ -14,5 +14,6 @@ odl-apache-commons-lang3 odl-dropwizard-metrics odl-servlet-api + odl-yangtools-data diff --git a/features/mdsal/pom.xml b/features/mdsal/pom.xml index 56887f74e2..6de0c4cb0b 100644 --- a/features/mdsal/pom.xml +++ b/features/mdsal/pom.xml @@ -23,15 +23,17 @@ features-mdsal + odl-clustering-test-app odl-controller-mdsal-common odl-controller-binding-api odl-controller-dom-api + odl-mdsal-clustering-commons + odl-mdsal-all odl-mdsal-broker odl-mdsal-broker-local odl-mdsal-clustering - odl-mdsal-clustering-commons odl-mdsal-distributed-datastore odl-mdsal-model-inventory odl-controller-model-topology -- 2.36.6