From 3486bd1a77a8a3f198de171fda34c102406a26ea Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Mon, 11 Sep 2017 21:42:57 +0000 Subject: Add docker build and push Issue-Id: DCAEGEN2-60 Change-Id: Ie873aacfd54ddfea9e7012cdfa88392cf9e84e33 Signed-off-by: Lusheng Ji --- pom.xml | 110 ++++++++++++++++++++++------------------------------------------ 1 file changed, 38 insertions(+), 72 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 8a3e1d5..b13e801 100644 --- a/pom.xml +++ b/pom.xml @@ -33,20 +33,21 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property. http://maven.apache.org UTF-8 + true . - + ${project.artifactId}-${project.version} @@ -70,6 +71,14 @@ 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 + + @@ -122,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} + + + @@ -156,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} - - @@ -178,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} - - @@ -200,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} - - @@ -222,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} - - @@ -244,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} - - @@ -266,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} - - @@ -288,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