X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=pom.xml;h=698de2c0ee03ca326fe958a33d86e93fdc1003dc;hb=7c03e5855fb667a01d9375b445c4a04919bd1dbb;hp=fe2aee7faad02f9781c1b3b8695400919e83b3dd;hpb=29a9e1539e3f372e7bce4bccb851cce914a0d2af;p=aai%2Fgizmo.git diff --git a/pom.xml b/pom.xml index fe2aee7..698de2c 100644 --- a/pom.xml +++ b/pom.xml @@ -19,32 +19,40 @@ limitations under the License. ============LICENSE_END========================================================= --> + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 org.onap.oparent oparent - 1.2.0 - + 2.0.0 + org.onap.aai.gizmo gizmo - 1.4.0-SNAPSHOT + 1.6.0-SNAPSHOT aai-gizmo ${basedir}/target 1.4.1 - 1.0.5 - 1.4.0 - 1.4.0 - 1.3.1 + 1.5.1 + 1.5.3 + 1.5.3 + 1.5.0 0.60 ${project.build.directory}/code-coverage + + 0.28.0 + 1.0.0 + ${project.build.directory}/${project.artifactId}-build/ + + onap + alpine + 1.6.0 @@ -53,7 +61,7 @@ limitations under the License. org.springframework.boot spring-boot-dependencies - 1.5.19.RELEASE + 1.5.21.RELEASE pom import @@ -116,21 +124,21 @@ limitations under the License. - - io.swagger - swagger-jersey2-jaxrs - 1.5.8 - - - io.springfox - springfox-swagger2 - 2.9.2 - - - io.springfox - springfox-swagger-ui - 2.9.2 - + + io.swagger + swagger-jersey2-jaxrs + 1.5.8 + + + io.springfox + springfox-swagger2 + 2.9.2 + + + io.springfox + springfox-swagger-ui + 2.9.2 + @@ -145,8 +153,8 @@ limitations under the License. ${version.org.onap.aai.aai-schema-ingest} - org.powermock - * + org.powermock + * @@ -165,7 +173,7 @@ limitations under the License. org.onap.aai.event-client event-client-dmaap - ${event.client.version} + ${event.client.version} org.slf4j @@ -176,7 +184,7 @@ limitations under the License. org.onap.aai.event-client event-client-kafka - ${event.client.version} + ${event.client.version} org.slf4j @@ -186,9 +194,9 @@ limitations under the License. - org.onap.aai.event-client - event-client-rabbitmq - ${event.client.version} + org.onap.aai.event-client + event-client-rabbitmq + ${event.client.version} org.slf4j @@ -222,7 +230,7 @@ limitations under the License. org.onap.aai rest-client - 1.2.1 + 1.5.0 @@ -363,6 +371,103 @@ limitations under the License. + + + + docker + + + + org.codehaus.groovy.maven + gmaven-plugin + 1.0 + + + prepare-package + + 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}/${project.artifactId}:%l + + + @ + + latest + + 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 + + + + + + + + + ${project.artifactId} @@ -374,85 +479,31 @@ limitations under the License. mvn formatter:format spotless:apply process-sources --> - net.revelc.code.formatter - formatter-maven-plugin - 2.8.1 - + net.revelc.code.formatter + formatter-maven-plugin + 2.8.1 + ${project.basedir}/onap-java-formatter.xml - - - - - com.diffplug.spotless - spotless-maven-plugin - 1.18.0 - - - - com,java,javax,org - - - - - - - org.apache.maven.plugins - maven-resources-plugin - 2.7 - - - copy-docker-file - package - - copy-resources - - - target - true - - - ${basedir}/src/main/docker - true - - **/* - - - - ${basedir} - true - - bundleconfig-local/** - - - - ${basedir}/src/main/bin/ - - - - - + + - - com.spotify - docker-maven-plugin - 0.4.11 + com.diffplug.spotless + spotless-maven-plugin + 1.18.0 - true - docker-hub - ${docker.push.registry}/onap/${project.artifactId} - ${docker.location} - - latest - - true + + + com,java,javax,org + + + - @@ -503,9 +554,6 @@ limitations under the License. org.apache.maven.plugins maven-deploy-plugin - - true - org.springframework.boot @@ -519,6 +567,23 @@ limitations under the License. + + maven-assembly-plugin + + + src/main/assembly/descriptor.xml + + + + + make-assembly + package + + single + + + + org.apache.maven.plugins maven-dependency-plugin @@ -537,7 +602,7 @@ limitations under the License. ${version.org.onap.aai.aai-schema} jar onap/**/ - ${project.build.directory}/bundleconfig-local/etc + ${aai.build.directory}/bundleconfig/etc @@ -572,7 +637,20 @@ limitations under the License. - + + org.codehaus.mojo + build-helper-maven-plugin + 3.0.0 + + + parse-version + + parse-version + + + + +