From cfca049dc256437c083c0b6723c1936b24c70e60 Mon Sep 17 00:00:00 2001 From: Patrick Brady Date: Thu, 9 Aug 2018 13:42:38 -0700 Subject: [PATCH] Karaf 4 for appc-sdc-listener Change-Id: If3dabdd96403d1d197b0ac021912a8cd2b8ce772 Signed-off-by: Patrick Brady Issue-ID: APPC-1138 --- appc-sdc-listener/appc-sdc-listener-bundle/pom.xml | 8 +- .../features-appc-sdc-listener/.gitignore | 1 + .../features-appc-sdc-listener/pom.xml | 48 +++++++++ .../onap-appc-sdc-listener/.gitignore | 1 + .../onap-appc-sdc-listener/pom.xml | 81 +++++++++++++++ .../appc-sdc-listener-features/pom.xml | 111 ++++----------------- .../appc-sdc-listener-installer/pom.xml | 10 +- .../appc-yang-generator/dependency-reduced-pom.xml | 86 ++++++++++++++++ appc-sdc-listener/appc-yang-generator/pom.xml | 10 +- appc-sdc-listener/pom.xml | 8 +- 10 files changed, 260 insertions(+), 104 deletions(-) create mode 100644 appc-sdc-listener/appc-sdc-listener-features/features-appc-sdc-listener/.gitignore create mode 100644 appc-sdc-listener/appc-sdc-listener-features/features-appc-sdc-listener/pom.xml create mode 100644 appc-sdc-listener/appc-sdc-listener-features/onap-appc-sdc-listener/.gitignore create mode 100644 appc-sdc-listener/appc-sdc-listener-features/onap-appc-sdc-listener/pom.xml create mode 100644 appc-sdc-listener/appc-yang-generator/dependency-reduced-pom.xml diff --git a/appc-sdc-listener/appc-sdc-listener-bundle/pom.xml b/appc-sdc-listener/appc-sdc-listener-bundle/pom.xml index 63d6cd35d..587175801 100644 --- a/appc-sdc-listener/appc-sdc-listener-bundle/pom.xml +++ b/appc-sdc-listener/appc-sdc-listener-bundle/pom.xml @@ -24,10 +24,12 @@ limitations under the License. - appc-sdc-listener - org.onap.appc + org.onap.appc.parent + binding-parent 1.4.0-SNAPSHOT + + org.onap.appc 2.8.1 @@ -93,7 +95,7 @@ limitations under the License. org.onap.appc - appc-common + appc-common-bundle ${project.version} diff --git a/appc-sdc-listener/appc-sdc-listener-features/features-appc-sdc-listener/.gitignore b/appc-sdc-listener/appc-sdc-listener-features/features-appc-sdc-listener/.gitignore new file mode 100644 index 000000000..eacf31a67 --- /dev/null +++ b/appc-sdc-listener/appc-sdc-listener-features/features-appc-sdc-listener/.gitignore @@ -0,0 +1 @@ +/target-ide/ diff --git a/appc-sdc-listener/appc-sdc-listener-features/features-appc-sdc-listener/pom.xml b/appc-sdc-listener/appc-sdc-listener-features/features-appc-sdc-listener/pom.xml new file mode 100644 index 000000000..e8247f5e5 --- /dev/null +++ b/appc-sdc-listener/appc-sdc-listener-features/features-appc-sdc-listener/pom.xml @@ -0,0 +1,48 @@ + + + + 4.0.0 + + + org.onap.appc.parent + feature-repo-parent + 1.4.0-SNAPSHOT + + + + org.onap.appc + features-appc-sdc-listener + 1.4.0-SNAPSHOT + feature + + + + + + org.onap.appc + onap-appc-sdc-listener + ${project.version} + xml + features + + + + diff --git a/appc-sdc-listener/appc-sdc-listener-features/onap-appc-sdc-listener/.gitignore b/appc-sdc-listener/appc-sdc-listener-features/onap-appc-sdc-listener/.gitignore new file mode 100644 index 000000000..eacf31a67 --- /dev/null +++ b/appc-sdc-listener/appc-sdc-listener-features/onap-appc-sdc-listener/.gitignore @@ -0,0 +1 @@ +/target-ide/ diff --git a/appc-sdc-listener/appc-sdc-listener-features/onap-appc-sdc-listener/pom.xml b/appc-sdc-listener/appc-sdc-listener-features/onap-appc-sdc-listener/pom.xml new file mode 100644 index 000000000..0aa998891 --- /dev/null +++ b/appc-sdc-listener/appc-sdc-listener-features/onap-appc-sdc-listener/pom.xml @@ -0,0 +1,81 @@ + + + + 4.0.0 + + + org.onap.appc.parent + single-feature-parent + 1.4.0-SNAPSHOT + + + + org.onap.appc + onap-appc-sdc-listener + 1.4.0-SNAPSHOT + feature + + + + + + org.opendaylight.controller + odl-mdsal-broker + xml + features + + + org.onap.appc + onap-appc-core + ${project.version} + xml + features + + + org.onap.appc + appc-sdc-listener-bundle + ${project.version} + + + + + + + org.apache.karaf.tooling + karaf-maven-plugin + true + + false + + slf4j-api + tomcat-jdbc + tomcat-juli + httpcore + httpclient + org.eclipse.osgi + + + + + + + diff --git a/appc-sdc-listener/appc-sdc-listener-features/pom.xml b/appc-sdc-listener/appc-sdc-listener-features/pom.xml index 50c3b4cb9..a7d0d75f4 100644 --- a/appc-sdc-listener/appc-sdc-listener-features/pom.xml +++ b/appc-sdc-listener/appc-sdc-listener-features/pom.xml @@ -3,9 +3,7 @@ ============LICENSE_START======================================================= ONAP : APPC ================================================================================ -Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. -================================================================================ -Copyright (C) 2017 Amdocs +Copyright (C) 2018 AT&T Intellectual Property. All rights reserved. ============================================================================= Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -18,94 +16,27 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - ============LICENSE_END========================================================= --> - 4.0.0 - - appc-sdc-listener - org.onap.appc - 1.4.0-SNAPSHOT - - appc-sdc-listener-features - Event Listener - Features - - jar - - - - org.onap.appc - appc-sdc-listener-bundle - ${project.version} - - - - commons-lang - commons-lang - compile - - - - 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.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - - attach-artifact - - package - - - - ${project.build.directory}/classes/${features.file} - xml - features - - - - - - - - + 4.0.0 + + + org.onap.appc.parent + odlparent-lite + 1.4.0-SNAPSHOT + + + + org.onap.appc + appc-sdc-listener-feature-aggregator + 1.4.0-SNAPSHOT + pom + + + + + onap-appc-sdc-listener + features-appc-sdc-listener + diff --git a/appc-sdc-listener/appc-sdc-listener-installer/pom.xml b/appc-sdc-listener/appc-sdc-listener-installer/pom.xml index c4cdec68a..0bfbce91a 100644 --- a/appc-sdc-listener/appc-sdc-listener-installer/pom.xml +++ b/appc-sdc-listener/appc-sdc-listener-installer/pom.xml @@ -24,10 +24,12 @@ limitations under the License. 4.0.0 - appc-sdc-listener - org.onap.appc + org.onap.appc.parent + odlparent-lite 1.4.0-SNAPSHOT + + org.onap.appc appc-sdc-listener-installer SDC Listener - Karaf Installer pom @@ -35,7 +37,7 @@ limitations under the License. appc-sdc-listener appc-sdc-listener - mvn:org.onap.appc/appc-sdc-listener-features/${project.version}/xml/features + mvn:org.onap.appc/onap-appc-sdc-listener/${project.version}/xml/features false @@ -43,7 +45,7 @@ limitations under the License. org.onap.appc - appc-sdc-listener-features + onap-appc-sdc-listener ${project.version} features xml diff --git a/appc-sdc-listener/appc-yang-generator/dependency-reduced-pom.xml b/appc-sdc-listener/appc-yang-generator/dependency-reduced-pom.xml new file mode 100644 index 000000000..fbb0a4fca --- /dev/null +++ b/appc-sdc-listener/appc-yang-generator/dependency-reduced-pom.xml @@ -0,0 +1,86 @@ + + + + binding-parent + org.onap.appc.parent + 1.4.0-SNAPSHOT + pom.xml + + 4.0.0 + org.onap.appc + appc-yang-generator + + + + maven-shade-plugin + + + package + + shade + + + + + ${artifactId}-${version} + + + + maven-compiler-plugin + 3.6.1 + + 1.8 + 1.8 + + + + + + + junit + junit + 4.11 + test + + + hamcrest-core + org.hamcrest + + + + + org.slf4j + slf4j-api + 1.7.25 + provided + + + org.slf4j + slf4j-simple + 1.7.25 + test + + + com.google.code.findbugs + annotations + 3.0.0 + provided + + + jcip-annotations + net.jcip + + + + + org.eclipse.jdt + org.eclipse.jdt.annotation + 2.1.0 + provided + + + + UTF-8 + + + diff --git a/appc-sdc-listener/appc-yang-generator/pom.xml b/appc-sdc-listener/appc-yang-generator/pom.xml index cc0fbbc89..d268ac448 100644 --- a/appc-sdc-listener/appc-yang-generator/pom.xml +++ b/appc-sdc-listener/appc-yang-generator/pom.xml @@ -25,11 +25,13 @@ limitations under the License. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 - - appc-sdc-listener + + org.onap.appc.parent + binding-parent + 1.4.0-SNAPSHOT + + org.onap.appc - 1.4.0-SNAPSHOT - appc-yang-generator jar diff --git a/appc-sdc-listener/pom.xml b/appc-sdc-listener/pom.xml index acc6369f9..438d58ff6 100644 --- a/appc-sdc-listener/pom.xml +++ b/appc-sdc-listener/pom.xml @@ -24,10 +24,12 @@ limitations under the License. 4.0.0 - org.onap.appc - appc + org.onap.appc.parent + odlparent-lite 1.4.0-SNAPSHOT + + org.onap.appc appc-sdc-listener SDC Event Listener @@ -125,4 +127,4 @@ limitations under the License. appc-sdc-listener-features appc-sdc-listener-installer - \ No newline at end of file + -- 2.16.6