X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=pom.xml;h=698de2c0ee03ca326fe958a33d86e93fdc1003dc;hb=7c03e5855fb667a01d9375b445c4a04919bd1dbb;hp=29f2dc9bc48e0e234bda2f84b93c234086c439ce;hpb=18f7af386802e750ad983ba2cdf4d9b84b4ed5ed;p=aai%2Fgizmo.git diff --git a/pom.xml b/pom.xml index 29f2dc9..698de2c 100644 --- a/pom.xml +++ b/pom.xml @@ -19,25 +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.2.4 - 1.3.1 + 1.4.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 @@ -46,7 +61,7 @@ limitations under the License. org.springframework.boot spring-boot-dependencies - 1.5.17.RELEASE + 1.5.21.RELEASE pom import @@ -57,6 +72,12 @@ limitations under the License. org.springframework.boot spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-tomcat + + org.springframework.boot @@ -75,6 +96,12 @@ limitations under the License. org.springframework.boot spring-boot-starter-jersey + + + org.springframework.boot + spring-boot-starter-tomcat + + org.springframework.boot @@ -88,49 +115,45 @@ limitations under the License. org.springframework.boot spring-boot-starter-test + test org.apache.cxf cxf-rt-frontend-jaxrs 3.2.5 - - - 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 + + - org.onap.aai.aai-common + org.onap.aai.schema-service aai-schema - ${version.org.onap.aai.aai-common} + ${version.org.onap.aai.aai-schema} org.onap.aai.aai-common aai-schema-ingest - ${version.org.onap.aai.aai-common} - - - org.onap.aai.aai-common - aai-core - ${version.org.onap.aai.aai-common} + ${version.org.onap.aai.aai-schema-ingest} - * + org.powermock * @@ -138,19 +161,19 @@ limitations under the License. org.onap.aai.aai-common aai-utils - ${version.org.onap.aai.aai-common} + ${version.org.onap.aai.aai-utils} org.onap.aai.aai-common aai-auth - ${version.org.onap.aai.aai-common} + ${version.org.onap.aai.aai-auth} org.onap.aai.event-client event-client-dmaap - ${event.client.version} + ${event.client.version} org.slf4j @@ -161,7 +184,7 @@ limitations under the License. org.onap.aai.event-client event-client-kafka - ${event.client.version} + ${event.client.version} org.slf4j @@ -171,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 @@ -207,7 +230,7 @@ limitations under the License. org.onap.aai rest-client - 1.2.1 + 1.5.0 @@ -337,7 +360,7 @@ limitations under the License. org.mockito mockito-core - 1.10.19 + 2.15.0 test @@ -348,63 +371,139 @@ 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} + - 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/ - - - - - + net.revelc.code.formatter + formatter-maven-plugin + 2.8.1 + + ${project.basedir}/onap-java-formatter.xml + + - - 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 + + + - @@ -455,9 +554,6 @@ limitations under the License. org.apache.maven.plugins maven-deploy-plugin - - true - org.springframework.boot @@ -471,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 @@ -484,28 +597,60 @@ limitations under the License. - org.onap.aai.aai-common + org.onap.aai.schema-service aai-schema - ${version.org.onap.aai.aai-common} + ${version.org.onap.aai.aai-schema} jar - oxm/ - ${project.build.directory}/bundleconfig-local/etc - - - org.onap.aai.aai-common - aai-core - ${version.org.onap.aai.aai-common} - jar - dbedgerules/ - **/*.ftlh - ${project.build.directory}/bundleconfig-local/etc + onap/**/ + ${aai.build.directory}/bundleconfig/etc - + + org.jacoco + jacoco-maven-plugin + + + default-check + + check + + + ${jacoco.report.directory}/jacoco-ut.exec + + + + BUNDLE + + + LINE + COVEREDRATIO + ${jacoco.line.coverage.limit} + + + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.0.0 + + + parse-version + + parse-version + + + + +