From dc0d02e1e6cb53b13c06373da32d36dd9230f392 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Fri, 1 Sep 2017 13:45:40 -0400 Subject: Add parent for opendaylight vclients Applications based on opendaylight need to inherit settings from the opendaylight parent pom (odlparent). This change adds a copy of oparent whose parent is the odlparent pom, which will allow projects based on opendaylight to still inherit settings from oparent. The new odlparent-boron directory is included as module in top level pom.xml, per review comments, to avoid release build failure. This will have to be treated via a separate Jenkins build. Change-Id: Icfb1f119672efc7cfd80748ee92cc331b01550a5 Issue-ID: CCSDK-43 Signed-off-by: Dan Timoney --- oparent-odlparent/pom.xml | 541 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 541 insertions(+) create mode 100644 oparent-odlparent/pom.xml diff --git a/oparent-odlparent/pom.xml b/oparent-odlparent/pom.xml new file mode 100644 index 0000000..a05e7bf --- /dev/null +++ b/oparent-odlparent/pom.xml @@ -0,0 +1,541 @@ + + + + 4.0.0 + + org.opendaylight.odlparent + odlparent + 1.8.1-Carbon + + org.onap.oparent + oparent-odlparent + 1.0.0-SNAPSHOT + oparent/odlparent-carbon + pom + + + 1.8 + 1.8 + UTF-8 + UTF-8 + https://nexus.onap.org + + /content/sites/site/${project.groupId}/${project.artifactId}/${project.version} + + 0.7.7.201606060606 + 3.2 + jacoco + + target/code-coverage/jacoco-ut.exec + target/code-coverage/jacoco-it.exec + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + ${basedir}/src/main/resources/swagger.properties + + + ${basedir}/src/main/resources/swagger.json + + + + + generate-json + + + ${swagger-properties} + + + swagger-sdk.generate-json + + + + + + org.codehaus.mojo + properties-maven-plugin + 1.0.0 + + + initialize + + read-project-properties + + + + ${basedir}/src/main/resources/swagger.properties + + + + + + + com.github.kongchen + swagger-maven-plugin + 3.1.4 + + + + ${api-rest-package} + http,https + ${api-host-ip}:${api-host-port} + ${api-base-path} + + ${api-title} + ${api-version} + ${api-description} + + ${api-license} + + + ${basedir}/src/main/resources + + + + + + compile + + generate + + + + + + org.apache.maven.plugins + maven-install-plugin + 2.3.1 + + + install-file-id + install + + install-file + + + ${basedir}/src/main/resources/swagger.json + ${project.groupId} + ${project.artifactId}-swagger-schema + ${project.version} + json + + + + + + + + + generate-sdk + + + ${swagger-json} + + + swagger-sdk.generate-java-sdk + + + + + + org.apache.maven.plugins + maven-antrun-plugin + 1.8 + + + initialize + ant-create-script + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + run + + + + + + ant-contrib + ant-contrib + 1.0b3 + + + ant + ant + + + + + + + io.swagger + swagger-codegen-maven-plugin + 2.2.1 + + + + generate + + + ${basedir}/src/main/resources/swagger.json + ${project.build.directory}/generated-sources + java + + joda + + jersey2 + ${project.groupId} + ${project.artifactId}-java-sdk + ${project.version} + ${project.groupId}.${project.artifactId}.client.model + ${project.groupId}.${project.artifactId}.client.api + ${project.groupId}.${project.artifactId}.client.invoker + + + + + + exec-maven-plugin + org.codehaus.mojo + 1.5.0 + + + swagger-generate-sources + generate-sources + + exec + + + ${project.build.directory}${file.separator}${swagger.sdk.script.file} + + + + + + org.apache.maven.plugins + maven-clean-plugin + 3.0.0 + + + clean-generated-files + generate-sources + + clean + + + + + ${project.build.directory}/generated-sources + + + + + + + + + + + org.onap.msb.swagger-sdk + swagger-sdk + 1.0.0-SNAPSHOT + + + + + + + ecomp-releases + ${onap.nexus.url}/content/repositories/releases + + + ecomp-snapshots + ${onap.nexus.url}/content/repositories/snapshots + + + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${onap.nexus.url} + 176c31dfe190a + ecomp-staging + + + + org.apache.maven.plugins + maven-deploy-plugin + + 2.8 + + + + + + org.apache.maven.plugins + maven-site-plugin + 3.6 + + + org.apache.maven.wagon + wagon-webdav-jackrabbit + 2.10 + + + + + + maven-checkstyle-plugin + 2.17 + + + org.onap.oparent + checkstyle + 1.0.0-SNAPSHOT + + + + + check-license + + check + + process-sources + + onap-checkstyle/check-license.xml + onap-checkstyle/apache-license-2.regexp.txt + false + true + false + ${project.build.sourceDirectory} + + + false + true + + + + check-style + + check + + process-sources + + + onap-checkstyle/onap-java-style.xml + + ${project.build.sourceDirectory}/src/main/java + true + true + true + + + false + true + + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + **/gen/** + **/generated-sources/** + **/yang-gen/** + **/pax/** + + + + + + pre-unit-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + surefireArgLine + + + + + post-unit-test + test + + report + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + ${project.reporting.outputDirectory}/jacoco-ut + + + + pre-integration-test + pre-integration-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + failsafeArgLine + + + + + post-integration-test + post-integration-test + + report + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + ${project.reporting.outputDirectory}/jacoco-it + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 2.19.1 + + + ${surefireArgLine} + + + **/IT*.java + + + + + org.apache.maven.plugins + maven-failsafe-plugin + 2.19.1 + + + + integration-tests + + integration-test + verify + + + + ${failsafeArgLine} + + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + 3.3.0.603 + + + + + + maven-checkstyle-plugin + + + org.codehaus.mojo + build-helper-maven-plugin + 1.12 + + + + org.jacoco + jacoco-maven-plugin + + + org.apache.maven.plugins + maven-surefire-plugin + + + org.apache.maven.plugins + maven-failsafe-plugin + + + + -- cgit 1.2.3-korg