From b52ca436e324d3326a3060d7628481f5c13e5c0c Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Tue, 13 Feb 2018 20:00:14 +0100 Subject: [PATCH] Package config-util into odl-config-util Netconf is using the XML packages in config-util extensively, so we should package it separately from odl-config-core to express the dependency correctly. JIRA: NETCONF-508 Change-Id: Id3f0b88f1ebcb9bd41292ecb948e15e6ffcde49d Signed-off-by: Robert Varga --- features/config/features-config/pom.xml | 7 ++ features/config/odl-config-core/pom.xml | 6 +- features/config/odl-config-util/pom.xml | 64 +++++++++++++++++++ .../src/main/feature/feature.xml | 13 ++++ features/config/pom.xml | 1 + opendaylight/config/config-artifacts/pom.xml | 7 ++ 6 files changed, 93 insertions(+), 5 deletions(-) create mode 100644 features/config/odl-config-util/pom.xml create mode 100644 features/config/odl-config-util/src/main/feature/feature.xml diff --git a/features/config/features-config/pom.xml b/features/config/features-config/pom.xml index bc76141d77..13a75cd801 100644 --- a/features/config/features-config/pom.xml +++ b/features/config/features-config/pom.xml @@ -59,6 +59,13 @@ xml features + + ${project.groupId} + odl-config-util + ${project.version} + xml + features + diff --git a/features/config/odl-config-core/pom.xml b/features/config/odl-config-core/pom.xml index e464115a2c..818c4b8e57 100644 --- a/features/config/odl-config-core/pom.xml +++ b/features/config/odl-config-core/pom.xml @@ -51,14 +51,10 @@ ${project.groupId} - odl-config-api + odl-config-util xml features - - ${project.groupId} - config-util - ${project.groupId} yang-jmx-generator diff --git a/features/config/odl-config-util/pom.xml b/features/config/odl-config-util/pom.xml new file mode 100644 index 0000000000..bb033a3522 --- /dev/null +++ b/features/config/odl-config-util/pom.xml @@ -0,0 +1,64 @@ + + + + 4.0.0 + + + org.opendaylight.odlparent + single-feature-parent + 3.0.2 + + + + org.opendaylight.controller + odl-config-util + 0.8.0-SNAPSHOT + feature + + + + + org.opendaylight.yangtools + yangtools-artifacts + 2.0.1 + pom + import + + + org.opendaylight.controller + config-artifacts + ${project.version} + pom + import + + + + + + + org.opendaylight.yangtools + odl-yangtools-data-api + xml + features + + + ${project.groupId} + odl-config-api + xml + features + + + ${project.groupId} + config-util + + + + diff --git a/features/config/odl-config-util/src/main/feature/feature.xml b/features/config/odl-config-util/src/main/feature/feature.xml new file mode 100644 index 0000000000..ec7ad36266 --- /dev/null +++ b/features/config/odl-config-util/src/main/feature/feature.xml @@ -0,0 +1,13 @@ + + + + + odl-yangtools-data-api + + diff --git a/features/config/pom.xml b/features/config/pom.xml index d3be32010f..876896fa46 100644 --- a/features/config/pom.xml +++ b/features/config/pom.xml @@ -28,6 +28,7 @@ odl-config-core odl-config-manager odl-config-netty-config-api + odl-config-util diff --git a/opendaylight/config/config-artifacts/pom.xml b/opendaylight/config/config-artifacts/pom.xml index 2731e47ae4..164e8f1a09 100644 --- a/opendaylight/config/config-artifacts/pom.xml +++ b/opendaylight/config/config-artifacts/pom.xml @@ -277,6 +277,13 @@ features xml + + ${project.groupId} + odl-config-util + ${project.version} + features + xml + -- 2.36.6