From: Claudio D. Gasparini Date: Sat, 20 Feb 2021 17:56:47 +0000 (+0100) Subject: Fix docker image generation when not profile is selected X-Git-Tag: 1.0.0~18^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=6e60380d855d4c88928a70514fc960636437a67a;p=cps.git Fix docker image generation when not profile is selected - by use default profile (cps-xnf-docker) - move jib-maven-plugin execution under each profile Issue-ID: CPS-175 Signed-off-by: Claudio D. Gasparini Change-Id: I418d63ae5423bcaf612f3f280e8f69df78cd899e --- diff --git a/cps-application/pom.xml b/cps-application/pom.xml index e5b46f6a4f..685029b809 100644 --- a/cps-application/pom.xml +++ b/cps-application/pom.xml @@ -34,7 +34,6 @@ org.onap.cps.Application - cps-service ${project.version} 2.6.0 0.0 @@ -105,10 +104,6 @@ org.springframework.boot spring-boot-maven-plugin - - com.google.cloud.tools - jib-maven-plugin - @@ -117,12 +112,24 @@ false + + + cps-service + ${project.groupId} cps-rest + + + + com.google.cloud.tools + jib-maven-plugin + + + xnf-docker @@ -140,11 +147,19 @@ cps-nf-proxy-rest + + + + com.google.cloud.tools + jib-maven-plugin + + + cps-xnf-docker - false + true @@ -161,6 +176,14 @@ cps-nf-proxy-rest + + + + com.google.cloud.tools + jib-maven-plugin + + + \ No newline at end of file