From f51b3e1a957ede6c263d0c3634f36c7fcfbb95ff Mon Sep 17 00:00:00 2001 From: Dhrumin Desai Date: Mon, 28 Sep 2020 09:02:07 -0400 Subject: updating docker repository to onap nexus Change-Id: Id01bca24cad873742012f46fce8c02eba6e56d7d Issue-ID: DCAEGEN2-2317 Signed-off-by: Dhrumin Desai Signed-off-by: Mantena, Ravi (rx908f) Signed-off-by: Ravi Mantena --- mod2/auth-service/pom.xml | 65 ++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 58 insertions(+), 7 deletions(-) (limited to 'mod2/auth-service/pom.xml') diff --git a/mod2/auth-service/pom.xml b/mod2/auth-service/pom.xml index 1fd4f02..75782f4 100644 --- a/mod2/auth-service/pom.xml +++ b/mod2/auth-service/pom.xml @@ -39,6 +39,8 @@ 11 ${java.version} ${java.version} + 1.4.10 + ${project.groupId}.${project.artifactId} @@ -125,13 +127,13 @@ jaxb-api 2.3.1 - - org.testng - testng - RELEASE - test - - + + org.testng + testng + RELEASE + test + + @@ -161,11 +163,60 @@ + + com.spotify + dockerfile-maven-plugin + ${dockerfile-maven-plugin.version} + + ${project.basedir} + ${onap.nexus.dockerregistry.daily}/${docker.image.name} + + target + ${project.build.finalName}.jar + + + + + build-image + package + + build + + + + tag-and-push-image-latest + package + + tag + push + + + ${onap.nexus.dockerregistry.daily}/${docker.image.name} + latest + true + + + + tag-and-push-image-with-version + package + + tag + push + + + ${onap.nexus.dockerregistry.daily}/${docker.image.name} + ${project.version} + true + + + + org.apache.maven.plugins maven-surefire-plugin 2.22.2 + mod-auth-service -- cgit 1.2.3-korg