From b0012ae3e1bb0187eee1bb3fe53b37934ba6d844 Mon Sep 17 00:00:00 2001 From: sg481n Date: Sun, 24 Sep 2017 05:39:19 +0000 Subject: Release docker image of AAF to nexus Modified authz-service pom file with docker spotify plugin. Issue-id: AAF-59 Change-Id: Idd236cca50d3f977cd2f52b1303700f7406df308 Signed-off-by: sg481n --- authz-service/pom.xml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) (limited to 'authz-service') diff --git a/authz-service/pom.xml b/authz-service/pom.xml index fab37c4f..c0089922 100644 --- a/authz-service/pom.xml +++ b/authz-service/pom.xml @@ -56,7 +56,7 @@ 1 1.0.0-SNAPSHOT 1.0.0-SNAPSHOT - ${basedir}/target/ + ${basedir}/target/ opt/app/aaf/${project.artifactId}/${project.version} java jacoco @@ -70,8 +70,6 @@ /content/repositories/releases/ /content/repositories/staging/ /content/sites/site/org/onap/aaf/authz/${project.artifactId}/${project.version} - - localhost:5000 true true false @@ -157,7 +155,7 @@ 1.0.0 onap/aaf/authz-service - ${dockerLocation} + src/main/resources/docker docker-hub latest @@ -168,14 +166,15 @@ / - /${basedir}/target/opt + ${project.build.directory}/opt true **/* - + + build-image @@ -196,7 +195,7 @@ onap/aaf/authz-service - ${docker.push.registry}/onap/aaf/authz-service:${project.docker.latesttagtimestamp.version} + onap/aaf/authz-service:${project.docker.latesttagtimestamp.version} ${skip.docker.push} @@ -207,7 +206,7 @@ push - ${docker.push.registry}/onap/aaf/authz-service:${project.docker.latesttagtimestamp.version} + onap/aaf/authz-service:${project.docker.latesttagtimestamp.version} ${skip.docker.push} @@ -219,7 +218,7 @@ onap/aaf/authz-service - ${docker.push.registry}/onap/aaf/authz-service:${project.docker.latesttag.version} + onap/aaf/authz-service:${project.docker.latesttag.version} ${skip.docker.push} @@ -230,7 +229,7 @@ push - ${docker.push.registry}/onap/aaf/authz-service:${project.docker.latesttag.version} + onap/aaf/authz-service:${project.docker.latesttag.version} ${skip.docker.push} @@ -242,7 +241,7 @@ onap/aaf/authz-service - ${docker.push.registry}/onap/aaf/authz-service:latest + onap/aaf/authz-service:latest ${skip.docker.push} @@ -253,18 +252,18 @@ push - ${docker.push.registry}/onap/aaf/authz-service:latest + onap/aaf/authz-service:latest ${skip.docker.push} - + maven-resources-plugin 2.7 - + copy-docker-file package @@ -283,7 +282,7 @@ - + copy-resources-1 validate -- cgit 1.2.3-korg