From 552a2683a44c9eaa9c963082ad685b04e9982a7d Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Mon, 6 May 2019 19:39:00 +0200 Subject: [PATCH] Split out odl-controller-blueprint Blueprint only needs controller APIs, it does not need implementation and it should be packaged in odl-config-netty. This patch splits it out in a separately-tested feature JIRA: CONTROLLER-1584 Change-Id: I4b12a3880b32fc21515dbb1e69f7e21b7c4d5c57 Signed-off-by: Robert Varga --- .../config-netty/odl-config-netty/pom.xml | 7 +- features/mdsal/features-mdsal/pom.xml | 7 ++ .../mdsal/odl-controller-blueprint/pom.xml | 75 +++++++++++++++++++ .../src/main/feature/feature.xml | 14 ++++ features/mdsal/odl-mdsal-broker-local/pom.xml | 1 - .../src/main/feature/feature.xml | 2 - features/mdsal/pom.xml | 1 + opendaylight/md-sal/mdsal-artifacts/pom.xml | 7 ++ 8 files changed, 105 insertions(+), 9 deletions(-) create mode 100644 features/mdsal/odl-controller-blueprint/pom.xml create mode 100644 features/mdsal/odl-controller-blueprint/src/main/feature/feature.xml diff --git a/features/config-netty/odl-config-netty/pom.xml b/features/config-netty/odl-config-netty/pom.xml index 4a3043c39e..cdaf0ff284 100644 --- a/features/config-netty/odl-config-netty/pom.xml +++ b/features/config-netty/odl-config-netty/pom.xml @@ -51,7 +51,7 @@ org.opendaylight.controller - odl-controller-binding-api + odl-controller-blueprint xml features @@ -81,11 +81,6 @@ ${project.groupId} threadpool-config-impl - - ${project.groupId} - blueprint - 0.11.0-SNAPSHOT - diff --git a/features/mdsal/features-mdsal/pom.xml b/features/mdsal/features-mdsal/pom.xml index a781d69784..a7bfe505eb 100644 --- a/features/mdsal/features-mdsal/pom.xml +++ b/features/mdsal/features-mdsal/pom.xml @@ -127,5 +127,12 @@ xml features + + ${project.groupId} + odl-controller-blueprint + ${project.version} + xml + features + diff --git a/features/mdsal/odl-controller-blueprint/pom.xml b/features/mdsal/odl-controller-blueprint/pom.xml new file mode 100644 index 0000000000..a601a24823 --- /dev/null +++ b/features/mdsal/odl-controller-blueprint/pom.xml @@ -0,0 +1,75 @@ + + + + 4.0.0 + + + org.opendaylight.odlparent + single-feature-parent + 5.0.0 + + + + org.opendaylight.controller + odl-controller-blueprint + 1.10.0-SNAPSHOT + feature + + OpenDaylight :: Controller :: Blueprint + OpenDaylight Controller Blueprint Extension + + + 0.11.0-SNAPSHOT + + + + + + org.opendaylight.yangtools + yangtools-artifacts + 3.0.0 + pom + import + + + org.opendaylight.controller + mdsal-artifacts + 1.10.0-SNAPSHOT + pom + import + + + + + + + org.opendaylight.yangtools + odl-yangtools-codec + xml + features + + + org.opendaylight.controller + odl-controller-binding-api + xml + features + + + org.opendaylight.controller + odl-controller-dom-api + xml + features + + + ${project.groupId} + blueprint + ${blueprint.version} + + + diff --git a/features/mdsal/odl-controller-blueprint/src/main/feature/feature.xml b/features/mdsal/odl-controller-blueprint/src/main/feature/feature.xml new file mode 100644 index 0000000000..636ef9f96e --- /dev/null +++ b/features/mdsal/odl-controller-blueprint/src/main/feature/feature.xml @@ -0,0 +1,14 @@ + + + + + odl-yangtools-codec + mvn:org.opendaylight.controller/blueprint/${blueprint.version} + + diff --git a/features/mdsal/odl-mdsal-broker-local/pom.xml b/features/mdsal/odl-mdsal-broker-local/pom.xml index af41046c11..0ca3406360 100644 --- a/features/mdsal/odl-mdsal-broker-local/pom.xml +++ b/features/mdsal/odl-mdsal-broker-local/pom.xml @@ -24,7 +24,6 @@ OpenDaylight :: MDSAL :: Broker - 0.11.0-SNAPSHOT true diff --git a/features/mdsal/odl-mdsal-broker-local/src/main/feature/feature.xml b/features/mdsal/odl-mdsal-broker-local/src/main/feature/feature.xml index 27ae27ce0b..7e5996cfaf 100644 --- a/features/mdsal/odl-mdsal-broker-local/src/main/feature/feature.xml +++ b/features/mdsal/odl-mdsal-broker-local/src/main/feature/feature.xml @@ -9,7 +9,5 @@ odl-lmax-3 - odl-yangtools-codec - mvn:org.opendaylight.controller/blueprint/${blueprint.version} diff --git a/features/mdsal/pom.xml b/features/mdsal/pom.xml index 6de0c4cb0b..0a3072a7bb 100644 --- a/features/mdsal/pom.xml +++ b/features/mdsal/pom.xml @@ -29,6 +29,7 @@ odl-controller-binding-api odl-controller-dom-api odl-mdsal-clustering-commons + odl-controller-blueprint odl-mdsal-all odl-mdsal-broker diff --git a/opendaylight/md-sal/mdsal-artifacts/pom.xml b/opendaylight/md-sal/mdsal-artifacts/pom.xml index 0a220a00ca..28982ab106 100644 --- a/opendaylight/md-sal/mdsal-artifacts/pom.xml +++ b/opendaylight/md-sal/mdsal-artifacts/pom.xml @@ -363,6 +363,13 @@ xml features + + ${project.groupId} + odl-controller-blueprint + ${project.version} + xml + features + ${project.groupId} odl-mdsal-distributed-datastore -- 2.36.6