X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=champ-service%2Fpom.xml;h=4fa66b7c043d685f75eb7eccd628bc51df7af219;hb=HEAD;hp=93126bd031a4386a0b61608e9c070c9371fcd5b0;hpb=e9f19eaf902ff2c1cdc02a5f90aa06fd582848a6;p=aai%2Fchamp.git diff --git a/champ-service/pom.xml b/champ-service/pom.xml index 93126bd..f2b8463 100644 --- a/champ-service/pom.xml +++ b/champ-service/pom.xml @@ -26,25 +26,35 @@ limitations under the License. org.onap.aai champ - 1.5.0-SNAPSHOT + 1.6.0-SNAPSHOT org.onap.aai.champ champ-service - ${basedir}/target - champ https://nexus.onap.org org.onap.aai.logging-service 1.2.2 3.7 1.3 - 1.5.19.RELEASE + 1.5.21.RELEASE 0.16 + + + champ + 0.28.0 + 1.0.0 + ${project.build.directory}/${project.artifactId}-build/ + + onap + alpine + 1.6.0 + + yyyyMMdd'T'HHmmss'Z' @@ -123,15 +133,14 @@ limitations under the License. 3.22.0-GA - org.springframework.boot spring-boot-starter-jersey - - org.springframework.boot - spring-boot-starter-tomcat - + + org.springframework.boot + spring-boot-starter-tomcat + @@ -153,9 +162,9 @@ limitations under the License. 2.6.2 - - com.google.guava - guava + + com.google.guava + guava @@ -279,44 +288,19 @@ limitations under the License. - org.apache.maven.plugins - maven-resources-plugin - 2.7 + maven-assembly-plugin + + + src/main/assembly/descriptor.xml + + - copy-docker-file + make-assembly package - copy-resources + single - - target - true - - - ${basedir}/src/main/docker - true - - **/* - - - - ${basedir}/src/main/bin/ - - - ../champ-service-deps-janus/target/ - - - ../champ-service-deps-titan/target/ - - - ${basedir} - - **/dynamic/**/* - - - - @@ -361,26 +345,104 @@ limitations under the License. - com.spotify + org.codehaus.mojo + build-helper-maven-plugin + 3.0.0 + + + pre-clean + parse-version + + parse-version + + + + + + org.codehaus.groovy.maven + gmaven-plugin + 1.0 + + + pre-clean + + execute + + + + def userAaiBaseImage = session.userProperties['aai.base.image'] + def userAaiCommonVersion = session.userProperties['aai.base.image.version'] + if (userAaiCommonVersion != null) { + project.properties['aai.base.image.version'] = userAaiCommonVersion + } + if (userAaiBaseImage != null) { + project.properties['aai.base.image'] = userAaiBaseImage + } + log.info 'Base image flavour: ' + project.properties['aai.base.image'] + log.info 'Base image version: ' + project.properties['aai.base.image.version'] + + + + + + + io.fabric8 docker-maven-plugin - 0.4.11 + ${docker.fabric.version} true - docker-hub - ${docker.push.registry}/onap/${docker.name} - ${docker.location} - - latest - - true + 1.23 + + + ${docker.push.registry}/${aai.docker.namespace}/${docker.image.name}:%l + + + @ + + latest + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-latest + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-${maven.build.timestamp} + + try + ${project.basedir}/src/main/docker + + + + + ${aai.build.directory} + /${project.artifactId} + + + + + + + - default + clean-images + pre-clean + + remove + + + true + + + + generate-images package build - + + + + push-images + deploy + + push + @@ -388,6 +450,4 @@ limitations under the License. - -