From ca2c3ada0487ced88ebba5cf5b39af4ec578b13e Mon Sep 17 00:00:00 2001 From: Tommy Carpenter Date: Fri, 8 Sep 2017 12:56:44 -0400 Subject: Update pom for new build process Issue-ID: DCAEGEN2-42 Change-Id: I45c07d0e0d3954f73280caea7532bf71315b7138 Signed-off-by: Tommy Carpenter --- pom.xml | 251 +++++++++++++++++++++++++++------------------------------------- 1 file changed, 104 insertions(+), 147 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 3c102cd..9113910 100644 --- a/pom.xml +++ b/pom.xml @@ -25,17 +25,14 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. oparent 1.0.0-SNAPSHOT - org.onap.dcaegen2.platform cdapbroker cdapbroker - 1.0.0-SNAPSHOT http://maven.apache.org UTF-8 - true . @@ -52,14 +49,11 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. **/*.js --> - ${project.artifactId}-${project.version} - - org.sonatype.plugins nexus-staging-maven-plugin @@ -77,68 +71,88 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. true - + + org.apache.maven.plugins + maven-enforcer-plugin + 3.0.0-M1 + + true + + - - - org.apache.maven.plugins - maven-resources-plugin - 2.6 - - true - - - - - - org.apache.maven.plugins - maven-compiler-plugin - 3.1 - - true - - - - - - org.apache.maven.plugins - maven-jar-plugin - 2.4 - - - default-jar - - - - - - + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + true + + + + + org.apache.maven.plugins + maven-jar-plugin + 2.4 + + + default-jar + + + + + - - org.apache.maven.plugins - maven-install-plugin - 2.4 - - true - - - - - - org.apache.maven.plugins - maven-surefire-plugin - 2.12.4 - - true - - - - + + org.apache.maven.plugins + maven-surefire-plugin + 2.12.4 + + true + + + + org.codehaus.mojo + exec-maven-plugin + 1.2.1 + + ${session.executionRootDirectory}/mvn-phase-script.sh + + + ${project.groupId} + ${project.artifactId} + ${project.version} + ${onap.nexus.url} + ${onap.nexus.rawrepo.baseurl.upload} + ${onap.nexus.rawrepo.baseurl.download} + ${onap.nexus.rawrepo.serverid} + ${onap.nexus.dockerregistry.daily} + ${onap.nexus.dockerregistry.release} + + + - - - org.codehaus.mojo @@ -169,147 +181,92 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. clean phase script clean - exec + + exec + - ${session.executionRootDirectory}/mvn-phase-script.sh - ${project.artifactId} + __ clean - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - generate-sources script generate-sources - exec + + exec + - mvn-phase-script.sh - ${project.artifactId} + __ generate-sources - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - compile script compile - exec + + exec + - mvn-phase-script.sh - ${project.artifactId} + __ compile - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - package script package - exec + + exec + - mvn-phase-script.sh - ${project.artifactId} + __ package - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - test script test - exec + + exec + - mvn-phase-script.sh - ${project.artifactId} + __ test - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - install script install - exec + + exec + - mvn-phase-script.sh - ${project.artifactId} + __ install - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - - deploy script deploy - exec + + exec + - mvn-phase-script.sh - ${project.artifactId} + __ deploy - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - -- cgit 1.2.3-korg