From cf7a38827225436fd6ce274c850bf2e500167b32 Mon Sep 17 00:00:00 2001 From: "Timoney, Dan (dt5972)" Date: Wed, 25 Sep 2019 08:56:47 -0400 Subject: Add karaf4-parent pom Add karaf4-parent pom back to build. This is needed to create ONAP distro of OpenDaylight. Change-Id: Ib0ad4d1ca02a15fe9aee8e4db95682c434b9e6c3 Issue-ID: CCSDK-1753 Signed-off-by: Timoney, Dan (dt5972) --- odlparent/karaf4-parent/pom.xml | 745 +++++++++------------ odlparent/pom.xml | 3 - odlparent/setup/pom.xml | 34 + .../src/main/properties/karaf4-parent.properties | 3 + 4 files changed, 364 insertions(+), 421 deletions(-) mode change 100755 => 100644 odlparent/karaf4-parent/pom.xml create mode 100644 odlparent/setup/src/main/properties/karaf4-parent.properties diff --git a/odlparent/karaf4-parent/pom.xml b/odlparent/karaf4-parent/pom.xml old mode 100755 new mode 100644 index 9a072463..76295a9e --- a/odlparent/karaf4-parent/pom.xml +++ b/odlparent/karaf4-parent/pom.xml @@ -1,18 +1,23 @@ - + + 4.0.0 pom org.onap.ccsdk.parent karaf4-parent - 1.1.1-SNAPSHOT + 1.5.0-SNAPSHOT org.opendaylight.odlparent karaf4-parent - 3.1.3 - + 4.0.10 + @@ -88,98 +93,103 @@ - 0.4.0-SNAPSHOT - 0.4.0-SNAPSHOT - 0.4.0-SNAPSHOT - 0.4.0-SNAPSHOT + 0.7.0-SNAPSHOT + 0.7.0-SNAPSHOT + 0.7.0-SNAPSHOT + 0.7.0-SNAPSHOT + 0.7.0-SNAPSHOT ${ccsdk.sli.core.version} ${ccsdk.sli.adaptors.version} ${ccsdk.sli.core.version} ${ccsdk.sli.adaptors.version} ${ccsdk.sli.core.version} + - 1.7.3 - 0.12.3 + 1.9.1 + 3.0.8 + 1.0.8 + 1.9.1 + 1.6.1 + 1.9.1 + - 1.10 + 1.12 - 3.7 + 3.8.1 2.6 3.6 - 2.7.1 + 2.7.3 4.4.1 - 2.8.2 + 2.8.5 - 23.6 - - 1.3.1 + 25.1-jre - 2.3.2 + 2.9.8 + 2.9.8 - 3.20.0-GA + 3.24.1-GA - 1.19.4 + 2.25.1 - 1.19.4 + 2.25.1 20131018 - - 1.3.8 - - 3.0.0 - + + - 4.11 + 4.12 1.2.3 1.10.19 - 4.1.22.Final + 4.1.34.Final 1.7.25 - 3.2.17.RELEASE + 4.3.24.RELEASE - 3.8.1.v20120830-144521 ${jackson.version} 0.6.4 + 4.7.2 + + 1.0.0 + + + 4.4.4 4.5.2 - 4.7.1 - 5.1.39 - 2.1.1 - 1.4.196 10.14.2.0 - 1.0.0 - 1.0.0 - + 1.17.1 + 2.1.1 + 2.2.3 + 6.11 8.5.14 + 9.4.12.v20180830 + true - @@ -291,26 +301,42 @@ true - - + - + - + - + - - - + + + - - - - + + + + @@ -412,201 +438,124 @@ + + yang-compile + + + src/main/yang + + + + + + org.opendaylight.yangtools + yang-maven-plugin + 2.1.8 + + + org.opendaylight.mdsal + maven-sal-api-gen-plugin + ${odl.mdsal.model.version} + jar + + + org.opendaylight.netconf + sal-rest-docgen-maven + ${odl.netconf.sal.rest.docgen.version} + jar + + + + + + generate-sources + + + ${yang.file.directory} + + + org.opendaylight.mdsal.binding.maven.api.gen.plugin.CodeGeneratorImpl + ${salGeneratorPath} + + + org.opendaylight.netconf.sal.rest.doc.maven.StaticDocGenerator + target/swagger + + + true + + + + + + + + + + - org.opendaylight.controller - mdsal-artifacts - ${odl.mdsal.version} + org.onap.ccsdk.parent + dependencies-odl-bom + 1.5.0-SNAPSHOT pom import + + + - org.opendaylight.mdsal.model - mdsal-model-artifacts - ${odl.mdsal.model.version} - pom - import + com.google.protobuf + protobuf-java + 3.6.1 - org.onap.sdnc.core - sli-common - ${sdnctl.sli.version} + io.netty + netty-transport + 4.1.34.Final - - org.onap.sdnc.core - sli-provider - ${sdnctl.sli.version} + io.netty + netty-all + 4.1.34.Final + - - org.onap.sdnc.core - aai-service-provider - ${sdnctl.aai.service.version} + junit + junit + 4.12 + test - - org.onap.sdnc.core - dblib-provider - ${sdnctl.dblib.version} + org.eclipse.jetty + jetty-server + 9.4.12.v20180830 - com.att.eelf - eelf-core - ${eelf.version} + org.eclipse.jetty + jetty-servlets + 9.4.12.v20180830 - org.apache.derby - derby - ${derby.version} - test + org.glassfish.jersey.bundles.repackaged + jersey-guava + 2.25.1 + + + org.codehaus.jettison + jettison + 1.3.8 - - - - - maven-javadoc-plugin - 2.10.4 - - false - org.umlgraph.doclet.UmlGraphDoc - - org.umlgraph - umlgraph - 5.6 - - -views - true - org.opendaylight.* - - - org.slf4j - slf4j-api - ${slf4j.version} - - - org.antlr - antlr4 - ${antlr.version} - - - org.antlr - antlr4-runtime - ${antlr.version} - - - - com.sun.jersey - jersey-client - ${jersey.json.version} - - - com.sun.jersey - jersey-core - ${jersey.json.version} - - - org.apache.httpcomponents - httpcore-osgi - ${apache.httpcomponents.core.version} - - - org.apache.httpcomponents - httpclient-osgi - ${apache.httpcomponents.client.version} - - - com.fasterxml.jackson.core - jackson-databind - ${fasterxml.jackson.version} - - - com.fasterxml.jackson.core - jackson-annotations - ${fasterxml.jackson.version} - - - com.fasterxml.jackson.core - jackson-core - ${fasterxml.jackson.version} - - - commons-lang - commons-lang - ${commons.lang.version} - - - - - - - javadoc-no-fork - test-javadoc-no-fork - - - - aggregate - - aggregate - test-aggregate - - - - - - org.apache.maven.plugins - maven-jxr-plugin - 2.3 - - - aggregate - - aggregate - test-aggregate - - - - - - - maven-surefire-plugin - 2.17 - - - org.apache.maven.plugins - maven-changelog-plugin - 2.3 - - - dual-report - - range - 30 - - - changelog - file-activity - - - - - - org.codehaus.mojo - taglist-maven-plugin - 2.4 - - - - - onap-public @@ -765,17 +714,17 @@ - + + org.apache.maven.plugins maven-deploy-plugin 2.8 - + - org.apache.maven.plugins maven-site-plugin @@ -786,85 +735,56 @@ wagon-webdav-jackrabbit 2.10 - - org.apache.maven.doxia - doxia-core - 1.7 - - - org.apache.maven.doxia - doxia-sink-api - 1.7 - - - org.apache.maven.doxia - doxia-logging-api - 1.7 - - - - attach-descriptor - - attach-descriptor - - - - maven-checkstyle-plugin - 2.17 - - - org.onap.oparent - checkstyle - 1.1.1 - - + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M2 - check-license + enforce-property - check + enforce - process-sources - onap-checkstyle/check-license.xml - onap-checkstyle/apache-license-2.regexp.txt - false - true - false - ${project.build.sourceDirectory} - - - false - true + + + onap.nexus.url + You must set a onap.nexus.url property in your + ~/.m2/settings.xml. See oparent/settings.xml for an example. + + + true - check-style + enforce-no-snapshots - check + enforce - process-sources - - onap-checkstyle/onap-java-style.xml - - ${project.build.sourceDirectory}/src/main/java - true - true - true - - - false - true + + + false + true + WARN + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.2 + + + + + org.jacoco jacoco-maven-plugin @@ -944,7 +864,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.19.1 + 2.22.0 ${surefireArgLine} @@ -957,7 +877,7 @@ org.apache.maven.plugins maven-failsafe-plugin - 2.19.1 + 2.22.0 @@ -974,181 +894,170 @@ - - org.apache.maven.plugins - maven-compiler-plugin - ${maven.compile.plugin.version} - - ${java.version.source} - ${java.version.target} - - - - org.sonarsource.scanner.maven - sonar-maven-plugin - 3.3.0.603 - - - org.apache.maven.plugins - maven-javadoc-plugin - 2.10 - - - - org.slf4j - slf4j-api - ${slf4j.version} - - - org.antlr - antlr4 - ${antlr.version} - - - org.antlr - antlr4-runtime - ${antlr.version} - - - - com.sun.jersey - jersey-client - ${jersey.client.version} - - - com.sun.jersey - jersey-core - ${jersey.version} - - - org.apache.httpcomponents - httpcore-osgi - ${apache.httpcomponents.core.version} - - - org.apache.httpcomponents - httpclient-osgi - ${apache.httpcomponents.client.version} - - - com.fasterxml.jackson.core - jackson-databind - ${jackson.version} - - - com.fasterxml.jackson.core - jackson-annotations - ${jackson.version} - - - com.fasterxml.jackson.core - jackson-core - ${jackson.version} - - - commons-lang - commons-lang - ${commons.lang.version} - - - - + org.codehaus.mojo + properties-maven-plugin + 1.0.0 - aggregate - aggregate + set-system-properties - site - + + + + maven.wagon.http.ssl.allowall + ${ssl.allowall} + + + maven.wagon.http.ssl.insecure + ${ssl.insecure} + + + + + org.codehaus.mojo + versions-maven-plugin + 2.5 + + true + + + + maven-scm-plugin + 1.8.1 + + ${project.artifactId}-${project.version} + + - - - - - maven-checkstyle-plugin - - - org.codehaus.mojo - build-helper-maven-plugin - 1.12 - - + + - org.jacoco - jacoco-maven-plugin + org.apache.maven.plugins + maven-deploy-plugin org.apache.maven.plugins - maven-surefire-plugin + maven-site-plugin org.apache.maven.plugins - maven-failsafe-plugin + maven-enforcer-plugin + - + - org.codehaus.mojo - properties-maven-plugin - 1.0.0 + maven-checkstyle-plugin + 2.17 + + + org.onap.oparent + checkstyle + 1.2.2 + + + onap-license + + check + + process-sources + + onap-checkstyle/check-license.xml + false + true + false + ${project.build.sourceDirectory} + + + true + false + + + + onap-java-style - set-system-properties + check + process-sources - - - maven.wagon.http.ssl.allowall - ${ssl.allowall} - - - maven.wagon.http.ssl.insecure - ${ssl.insecure} - - + + onap-checkstyle/onap-java-style.xml + + ${project.build.sourceDirectory}/src/main/java + true + true + true + + + true + false - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ${onap.nexus.url} - 176c31dfe190a - ecomp-staging - + org.codehaus.mojo + build-helper-maven-plugin + 1.12 + - org.codehaus.mojo - versions-maven-plugin - 2.5 - - true - + org.jacoco + jacoco-maven-plugin + + + org.apache.maven.plugins + maven-surefire-plugin + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.10.4 + + + attach-javadocs + + jar + + + -Xdoclint:none + + + + + + + - maven-scm-plugin - 1.8.1 + maven-javadoc-plugin + 2.10.4 - ${project.artifactId}-${project.version} + false + -Xdoclint:none - + ONAP diff --git a/odlparent/pom.xml b/odlparent/pom.xml index 508957f7..7e25e522 100755 --- a/odlparent/pom.xml +++ b/odlparent/pom.xml @@ -32,10 +32,7 @@ binding-parent bundle-parent feature-repo-parent - mdsal-it-parent odlparent odlparent-lite diff --git a/odlparent/setup/pom.xml b/odlparent/setup/pom.xml index 24651600..685ad761 100755 --- a/odlparent/setup/pom.xml +++ b/odlparent/setup/pom.xml @@ -96,6 +96,29 @@ + + create-karaf4-parent-pom + + copy-resources + + validate + + ../karaf4-parent + + + src/main/resources + + pom-template.xml + + true + + + \ + + ${basedir}/src/main/properties/karaf4-parent.properties + + + create-mdsal-it-parent-pom @@ -228,6 +251,17 @@ ../feature-repo-parent/pom.xml + + rename-karaf4-parent-pom + validate + + rename + + + ../karaf4-parent/pom-template.xml + ../karaf4-parent/pom.xml + + rename-mdsal-it-parent-pom validate diff --git a/odlparent/setup/src/main/properties/karaf4-parent.properties b/odlparent/setup/src/main/properties/karaf4-parent.properties new file mode 100644 index 00000000..5be7cc17 --- /dev/null +++ b/odlparent/setup/src/main/properties/karaf4-parent.properties @@ -0,0 +1,3 @@ +odlparent.artifactId=karaf4-parent +odlparent.groupId=org.opendaylight.odlparent +odlparent.version=4.0.10 -- cgit 1.2.3-korg