From: stark, steven Date: Wed, 23 Jan 2019 18:00:18 +0000 (-0800) Subject: [VVP] Updating POM file to build docker image X-Git-Tag: 5.0.0~85 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=vvp%2Fvalidation-scripts.git;a=commitdiff_plain;h=9ed654cad9da24663188351ce61aec88b6aa20ba [VVP] Updating POM file to build docker image Change-Id: I470f281511949858c3780384689d0fb072d9f1ca Issue-ID: VVP-82 Signed-off-by: stark, steven --- diff --git a/pom.xml b/pom.xml index d8a2057..7bb469e 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ org.onap.vvp.validation-scripts validation-scripts pom - 1.0.0-SNAPSHOT + 1.0.0 vvp-validation-scripts @@ -20,6 +20,11 @@ ${maven.build.timestamp} yyyyMMdd'T'HHmmss'Z' + + ${project.version}-${timestamp} + ${project.version}-latest + nexus3.onap.org:10001 + nexus3.onap.org:10003 UTF-8 . @@ -54,6 +59,61 @@ ecomp-staging + + io.fabric8 + docker-maven-plugin + 0.19.0 + + ${docker.pull.registry} + ${docker.push.registry} + + + onap/vvp/validation-scripts + validation-scripts + + true + + ${docker.tag} + ${docker.latest.tag} + + ${project.basedir} + + + + + + + clean-images + pre-clean + + remove + + + true + + + + + generate-images + package + + build + + + + + push-images + deploy + + build + push + + + onap/vvp/validation-scripts + + + + org.codehaus.mojo exec-maven-plugin