From c2a234c0bb0064091d4374e68bf07cf117379263 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Wed, 6 Sep 2017 00:06:30 +0000 Subject: Edit mvn-phase-script for test and deploy Issues-Id: DCAEGEN2-60 Change-Id: I251e092c36fc59ab48793235854c252884200d71 Signed-off-by: Lusheng Ji --- pom.xml | 98 ++++++++++++++++++----------------------------------------------- 1 file changed, 27 insertions(+), 71 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 60ac581..c4b40ca 100644 --- a/pom.xml +++ b/pom.xml @@ -33,7 +33,6 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. http://maven.apache.org UTF-8 - true . @@ -132,6 +131,26 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. 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} + + + @@ -166,19 +185,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - ${session.executionRootDirectory}/mvn-phase-script.sh - ${project.artifactId} + __ clean - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -188,19 +198,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh - ${project.artifactId} + __ generate-sources - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -210,19 +211,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh - ${project.artifactId} + __ compile - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -232,19 +224,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh - ${project.artifactId} + __ package - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -254,19 +237,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh - ${project.artifactId} + __ test - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -276,19 +250,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh - ${project.artifactId} + __ install - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - @@ -298,19 +263,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. exec - mvn-phase-script.sh - ${project.artifactId} + __ deploy - - - ${project.groupId} - ${project.artifactId} - ${project.version} - ${onap.nexus.url} - - -- cgit 1.2.3-korg