From 2a78a3757795bbbfb6ac875dc51ec3b4eb7a5364 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Mon, 21 Aug 2017 14:03:14 -0700 Subject: Refactor oparent for independent versioning Change-Id: I543f394b360b6926986f33b48bef4b3355363beb Issue-id: INT-103 Signed-off-by: Gary Wu --- pom.xml | 504 ++++++---------------------------------------------------------- 1 file changed, 42 insertions(+), 462 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index e6f1280..4165b16 100644 --- a/pom.xml +++ b/pom.xml @@ -16,490 +16,70 @@ --> 4.0.0 - - org.onap.oparent - version - 1.0.0-SNAPSHOT - version - oparent - oparent + org.onap.oparent + version + 1.0.0-SNAPSHOT pom - - scm:git:ssh://git.onap.org:29418/oparent.git - scm:git:ssh://git.onap.org:29418/oparent.git - HEAD - https://wiki.onap.org/display/DW/Integration+Project - - version checkstyle license + oparent - - 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 + + 1.8 + 1.8 + UTF-8 + UTF-8 + https://nexus.onap.org - - - 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 - + + + ecomp-releases + ${onap.nexus.url}/content/repositories/releases + + + ecomp-snapshots + ${onap.nexus.url}/content/repositories/snapshots + + - - - - - - - - - - - - - - - - - - - - - - - - - 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 - - - - - maven-checkstyle-plugin - 2.17 - - - org.onap.oparent - checkstyle - 1.0.0-SNAPSHOT - - - org.onap.oparent - onap-license - 1.0.0-SNAPSHOT - - - - - onap-java-style.xml - - ${project.build.sourceDirectory}/src/main/java - true - true - true - - - false - true - - - - check-license - - check - - process-sources - - check-license.xml - apache-license-2.regexp.txt - false - true - false - ${project.build.sourceDirectory} - - - false - true - - - - check-style - - check - - process-sources - - - - - org.jacoco - jacoco-maven-plugin - ${jacoco.version} + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true - - - **/gen/** - **/generated-sources/** - **/yang-gen/** - **/pax/** - + ${onap.nexus.url} + 176c31dfe190a + ecomp-staging - - - - 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 + maven-deploy-plugin + 2.8 - - ${surefireArgLine} - - - **/IT*.java - + - + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + + 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-deploy-plugin + - - - - 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