From 77a1397a4d07b70ab9dd35a6ef12f55231fd77d8 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Thu, 7 Sep 2017 04:06:32 +0000 Subject: Fix pom and mvn script Issue-Id: DCAEGEN2-60 Change-Id: I18134f2e2b2af7a40789ebec0379c4ee8e58370f Signed-off-by: Lusheng Ji --- cdap/pom.xml | 85 ++++++++++++++++-------------------------------------------- 1 file changed, 22 insertions(+), 63 deletions(-) (limited to 'cdap') diff --git a/cdap/pom.xml b/cdap/pom.xml index 482e0a8..2004c7e 100644 --- a/cdap/pom.xml +++ b/cdap/pom.xml @@ -30,8 +30,10 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. cdap-plugin 1.0.0-SNAPSHOT http://maven.apache.org + UTF-8 + true . @@ -121,6 +123,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 + + + ${parent.groupId} + ${parent.artifactId} + ${parent.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} + + + @@ -155,19 +177,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} - - @@ -177,19 +190,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} - - @@ -199,19 +203,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} - - @@ -221,19 +216,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} - - @@ -243,19 +229,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} - - @@ -265,19 +242,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} - - @@ -287,19 +255,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