From b7c21e18163eb851327ab12c110a1e6b256b9535 Mon Sep 17 00:00:00 2001 From: Ryan Young Date: Mon, 13 Aug 2018 22:37:11 -0400 Subject: [PATCH] Karaf 4 for appc-provider Change-Id: Id0f8f51426a5595f51943e8b9d1bb62ed8ee1c8d Issue-ID: APPC-1028 Signed-off-by: Ryan Young --- appc-client/client-kit/pom.xml | 2 +- appc-provider/appc-provider-bundle/pom.xml | 27 ++-- .../features-appc-provider/pom.xml | 25 ++++ .../onap-appc-provider/pom.xml | 53 ++++++++ .../src/main/feature/feature.xml | 25 ++++ appc-provider/appc-provider-features/pom.xml | 150 ++------------------- appc-provider/appc-provider-installer/pom.xml | 19 ++- appc-provider/appc-provider-model/pom.xml | 36 ++--- appc-provider/pom.xml | 13 +- 9 files changed, 160 insertions(+), 190 deletions(-) create mode 100644 appc-provider/appc-provider-features/features-appc-provider/pom.xml create mode 100644 appc-provider/appc-provider-features/onap-appc-provider/pom.xml create mode 100644 appc-provider/appc-provider-features/onap-appc-provider/src/main/feature/feature.xml diff --git a/appc-client/client-kit/pom.xml b/appc-client/client-kit/pom.xml index f7f318427..635b0e3f5 100644 --- a/appc-client/client-kit/pom.xml +++ b/appc-client/client-kit/pom.xml @@ -57,7 +57,7 @@ generate-sources - META-INF/yang/appc-provider-lcm.yang + META-INF/yang/appc-provider-lcm@2016-01-08.yang target/generated-sources/appc-provider-lcm/appc-provider-lcm.json templates/open-api/yang-to-open-api.ftl org.onap.appc.tools.generator.extensions.YangContextBuilderImpl diff --git a/appc-provider/appc-provider-bundle/pom.xml b/appc-provider/appc-provider-bundle/pom.xml index fe3972577..8ed218bd7 100644 --- a/appc-provider/appc-provider-bundle/pom.xml +++ b/appc-provider/appc-provider-bundle/pom.xml @@ -25,12 +25,20 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - appc-provider - org.onap.appc + org.onap.appc.parent + binding-parent 1.4.0-SNAPSHOT + + + org.onap.appc appc-provider-bundle + 1.4.0-SNAPSHOT bundle + + appc-provider-bundle + appc-provider OSGI bundle + @@ -42,8 +50,6 @@ org.opendaylight.controller.config.yang.config.sample_provider.impl org.onap.appc.provider - - org.onap.appc.domainmodel.lcm, org.onap.appc.i18n, @@ -63,7 +69,6 @@ org.opendaylight.yangtools yang-maven-plugin - ${odl.yangtools.version} config @@ -71,6 +76,7 @@ generate-sources + ${yang.file.directory} @@ -105,6 +111,7 @@ org.opendaylight.controller yang-jmx-generator-plugin ${odl.yang.jmx.generator.version} + jar @@ -169,18 +176,11 @@ ${project.version} bundle provided - - - - - - org.onap.appc - appc-common + appc-common-bundle ${project.version} - org.onap.appc @@ -233,7 +233,6 @@ org.opendaylight.controller sal-binding-broker-impl tests - ${odl.mdsal.version} test-jar test diff --git a/appc-provider/appc-provider-features/features-appc-provider/pom.xml b/appc-provider/appc-provider-features/features-appc-provider/pom.xml new file mode 100644 index 000000000..1c85094e2 --- /dev/null +++ b/appc-provider/appc-provider-features/features-appc-provider/pom.xml @@ -0,0 +1,25 @@ + + 4.0.0 + + org.onap.appc.parent + feature-repo-parent + 1.4.0-SNAPSHOT + + + org.onap.appc + features-appc-provider + feature + + appc-provider features repo + + + + org.onap.appc + onap-appc-provider + ${project.version} + xml + features + + + + \ No newline at end of file diff --git a/appc-provider/appc-provider-features/onap-appc-provider/pom.xml b/appc-provider/appc-provider-features/onap-appc-provider/pom.xml new file mode 100644 index 000000000..ac9decf0a --- /dev/null +++ b/appc-provider/appc-provider-features/onap-appc-provider/pom.xml @@ -0,0 +1,53 @@ + + 4.0.0 + + org.onap.appc.parent + single-feature-parent + 1.4.0-SNAPSHOT + + + + org.onap.appc + onap-appc-provider + feature + + onap-appc-provider + + + + org.onap.appc + onap-appc-core + ${project.version} + xml + features + + + + org.onap.appc + onap-appc-request-handler + ${project.version} + xml + features + + + + org.onap.appc + appc-provider-model + ${project.version} + + + + org.onap.appc + appc-provider-bundle + config + xml + ${project.version} + + + + org.onap.appc + appc-provider-bundle + ${project.version} + + + \ No newline at end of file diff --git a/appc-provider/appc-provider-features/onap-appc-provider/src/main/feature/feature.xml b/appc-provider/appc-provider-features/onap-appc-provider/src/main/feature/feature.xml new file mode 100644 index 000000000..a0ada8d66 --- /dev/null +++ b/appc-provider/appc-provider-features/onap-appc-provider/src/main/feature/feature.xml @@ -0,0 +1,25 @@ + + + + mvn:org.onap.appc/appc-provider-bundle/${project.version}/xml/config + + \ No newline at end of file diff --git a/appc-provider/appc-provider-features/pom.xml b/appc-provider/appc-provider-features/pom.xml index 1ab42efad..1068522d5 100644 --- a/appc-provider/appc-provider-features/pom.xml +++ b/appc-provider/appc-provider-features/pom.xml @@ -21,143 +21,21 @@ --> 4.0.0 - - appc-provider - org.onap.appc + + org.onap.appc.parent + odlparent-lite 1.4.0-SNAPSHOT - appc-provider-features + + org.onap.app appc-provider-features - - jar - - - - org.onap.appc - appc-provider-model - ${project.version} - - - - org.onap.appc - appc-provider-bundle - config - xml - ${project.version} - - - - org.onap.appc - appc-provider-bundle - ${project.version} - - - - org.opendaylight.mdsal - features-mdsal - features - xml - - runtime - - - - - - - - - - - - - - - - - - - - - org.opendaylight.yangtools - features-yangtools - features - xml - runtime - - - - - - - true - src/main/resources - - - - - org.apache.maven.plugins - maven-resources-plugin - - - filter - - resources - - generate-resources - - - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - org.opendaylight.controller - opendaylight-karaf-empty - ${odl.karaf.empty.distro.version} - - - org.opendaylight.yangtools:features-test - - - - org.ops4j.pax.exam:pax-exam-container-native - - true - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - - attach-artifact - - package - - - - ${project.build.directory}/classes/${features.file} - xml - features - - - - - - - - - + 1.4.0-SNAPSHOT + pom + + appc-provider-features + + + features-appc-provider + onap-appc-provider + \ No newline at end of file diff --git a/appc-provider/appc-provider-installer/pom.xml b/appc-provider/appc-provider-installer/pom.xml index 4097fc7c7..9c077d890 100644 --- a/appc-provider/appc-provider-installer/pom.xml +++ b/appc-provider/appc-provider-installer/pom.xml @@ -22,19 +22,22 @@ 4.0.0 - appc-provider - org.onap.appc + org.onap.appc.parent + odlparent-lite 1.4.0-SNAPSHOT + org.onap.appc appc-provider-installer - APPC Provider - Karaf Installer + 1.4.0-SNAPSHOT pom + APPC Provider - Karaf Installer appc-provider + appc-provider appc-provider - mvn:org.onap.appc/appc-provider-features/${project.version}/xml/features + mvn:org.onap.appc/onap-appc-provider/${project.version}/xml/features false @@ -42,7 +45,7 @@ org.onap.appc - appc-provider-features + onap-appc-provider ${project.version} features xml @@ -54,6 +57,12 @@ + + org.onap.appc + appc-provider-model + ${project.version} + + org.onap.appc appc-provider-bundle diff --git a/appc-provider/appc-provider-model/pom.xml b/appc-provider/appc-provider-model/pom.xml index 83dfe14b4..f9d2ee883 100644 --- a/appc-provider/appc-provider-model/pom.xml +++ b/appc-provider/appc-provider-model/pom.xml @@ -22,16 +22,17 @@ 4.0.0 - - appc-provider - org.onap.appc + + org.onap.appc.parent + binding-parent 1.4.0-SNAPSHOT + org.onap.appc appc-provider-model bundle + appc-provider-model - org.apache.felix @@ -39,15 +40,15 @@ true - !com.google.common.collect,!com.google.common.base,* - guava + + + org.opendaylight.yangtools yang-maven-plugin - ${odl.yangtools.version} org.opendaylight.mdsal @@ -74,30 +75,9 @@ - - - - - - - - - - - - - - - - - - - - org.apache.maven.plugins maven-install-plugin - 2.5.2 yang diff --git a/appc-provider/pom.xml b/appc-provider/pom.xml index f34f96293..cc165a842 100644 --- a/appc-provider/pom.xml +++ b/appc-provider/pom.xml @@ -21,17 +21,18 @@ 4.0.0 - org.onap.appc - appc + org.onap.appc.parent + odlparent-lite 1.4.0-SNAPSHOT + + org.onap.appc appc-provider + 1.4.0-SNAPSHOT pom APPC Provider - The app-c service provider bundle - - appc-provider - + The app-c service provider + -- 2.16.6