From: dglFromAtt Date: Sun, 4 Mar 2018 03:07:58 +0000 (-0500) Subject: utilize docker-maven-plugin to create container X-Git-Tag: v1.0.12~20 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fbuscontroller.git;a=commitdiff_plain;h=89a5243e22360828ce6e50fe46b2b5f662ecbc59 utilize docker-maven-plugin to create container Change-Id: I7a4de614ce948f0ae7eb6fc852438f3270147151 Signed-off-by: dglFromAtt Issue-ID: DMAAP-318 Signed-off-by: dglFromAtt --- diff --git a/pom.xml b/pom.xml index 6658514..518f638 100644 --- a/pom.xml +++ b/pom.xml @@ -55,6 +55,100 @@ + + com.spotify + docker-maven-plugin + 1.0.0 + + ${docker.image} + ${project.basedir} + + + ${artifact.version} + latest + + true + + + / + ${project.basedir} + + target/**/* + pom.xml + + + + + + + + build-image + package + + build + + + ${skip.docker.build} + + + + + tag-image-project-version + package + + tag + + + ${docker.image} + ${docker.push.registry}/${docker.image}:${artifact.version} + ${skip.docker.push} + + + + + tag-image-latest + package + + tag + + + ${docker.image} + ${docker.push.registry}/${docker.image}:latest + ${skip.docker.push} + + + + + push-image-latest + deploy + + push + + + ${docker.push.registry}/${docker.image}:${artifact.version} + ${skip.docker.push} + + + + + push-image + deploy + + push + + + ${docker.push.registry}/${docker.image}:latest + ${skip.docker.push} + + + + @@ -211,6 +305,13 @@ target/code-coverage/jacoco-it.exec **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + + onap/dmaap/buscontroller + true + true + https://nexus.onap.org + nexus3.onap.org:10003 Packaging Platform (DMaaP) Bus Controller API as a Docker container.