X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=champ-service%2Fpom.xml;h=4fa66b7c043d685f75eb7eccd628bc51df7af219;hb=HEAD;hp=71bf9fb03ca65bc885904ad85b1ddcad080f55da;hpb=c5331e6fe565e7d0a22d1752e8f793d55dbe7c2e;p=aai%2Fchamp.git diff --git a/champ-service/pom.xml b/champ-service/pom.xml index 71bf9fb..f2b8463 100644 --- a/champ-service/pom.xml +++ b/champ-service/pom.xml @@ -24,26 +24,37 @@ limitations under the License. 4.0.0 - org.onap.oparent - oparent - 1.1.0 + org.onap.aai + champ + 1.6.0-SNAPSHOT - org.onap.aai + org.onap.aai.champ champ-service - 1.2.0-SNAPSHOT - champ - ${basedir}/target https://nexus.onap.org org.onap.aai.logging-service 1.2.2 - 18.0 3.7 1.3 - 1.5.12.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' @@ -55,6 +66,18 @@ limitations under the License. pom import + + + org.apache.httpcomponents + httpclient + 4.5.3 + + + + org.apache.httpcomponents + httpclient-cache + 4.5.3 + @@ -67,6 +90,10 @@ limitations under the License. org.springframework.boot spring-boot-starter-tomcat + + ch.qos.logback + logback-classic + @@ -77,16 +104,45 @@ limitations under the License. org.springframework.boot - spring-boot-starter-jersey + spring-boot-starter-test + test + + + org.powermock + powermock-module-junit4 + 1.7.4 + test + + + org.javassist + javassist + + + + + org.powermock + powermock-api-mockito + 1.7.4 + test + - dom4j - dom4j - 1.6.1 - provided + org.javassist + javassist + 3.22.0-GA + + org.springframework.boot + spring-boot-starter-jersey + + + org.springframework.boot + spring-boot-starter-tomcat + + + org.json @@ -106,10 +162,9 @@ limitations under the License. 2.6.2 - - com.google.guava - guava - ${version.com.google.guava} + + com.google.guava + guava @@ -145,37 +200,15 @@ limitations under the License. - org.apache.httpcomponents - httpclient - 4.5.5 - - - - org.apache.httpcomponents - httpclient-cache - 4.5.5 - - - commons-logging - commons-logging - - - - - - org.onap.aai + org.onap.aai.champ.champ-lib champ-core - 1.2.0-SNAPSHOT + ${project.version} compile org.apache.hbase hbase-client - - org.apache.httpcomponents - httpclient - log4j log4j @@ -203,6 +236,24 @@ limitations under the License. 1.5.0 test + + + ch.qos.logback + logback-classic + 1.2.3 + + + + ch.qos.logback + logback-core + 1.2.3 + + + + org.onap.dmaap.messagerouter.dmaapclient + dmaapClient + 1.1.5 + @@ -237,56 +288,23 @@ 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/**/* - - - - - - org.apache.maven.plugins - maven-deploy-plugin - - true - - - com.mycila license-maven-plugin @@ -310,43 +328,126 @@ limitations under the License. - - com.spotify - docker-maven-plugin - 0.4.11 - - true - docker-hub - ${docker.push.registry}/onap/${project.name} - ${docker.location} - - latest - - true - + org.apache.maven.plugins + maven-deploy-plugin - - org.jacoco - jacoco-maven-plugin - 0.7.9 - - - default-prepare-agent - - prepare-agent - - - - default-report - prepare-package - - report - - - + org.apache.maven.plugins + maven-site-plugin + + + + docker + + + + 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 + ${docker.fabric.version} + + 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} + + + + + + + + + + + clean-images + pre-clean + + remove + + + true + + + + generate-images + package + + build + + + + push-images + deploy + + push + + + + + + + +