X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=pom.xml;h=9f03c4ea4d50e13daceae4f13163e419a946b9dd;hb=HEAD;hp=f2ccb0d750299721c4296120fa9426a99434503d;hpb=ac22fb51b1383f182b847d2c538a2c39d259ab6c;p=aai%2Fgizmo.git diff --git a/pom.xml b/pom.xml index f2ccb0d..9f03c4e 100644 --- a/pom.xml +++ b/pom.xml @@ -19,24 +19,42 @@ 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.1.1 - + 2.0.0 + org.onap.aai.gizmo gizmo - 1.3.0-SNAPSHOT + 1.6.0-SNAPSHOT aai-gizmo ${basedir}/target - 1.2.4 + 1.4.1 + 1.6.0 + 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 + + yyyyMMdd'T'HHmmss'Z' @@ -45,7 +63,7 @@ limitations under the License. org.springframework.boot spring-boot-dependencies - 1.5.12.RELEASE + 1.5.21.RELEASE pom import @@ -56,6 +74,12 @@ limitations under the License. org.springframework.boot spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-tomcat + + org.springframework.boot @@ -74,6 +98,12 @@ limitations under the License. org.springframework.boot spring-boot-starter-jersey + + + org.springframework.boot + spring-boot-starter-tomcat + + org.springframework.boot @@ -87,31 +117,45 @@ limitations under the License. org.springframework.boot spring-boot-starter-test + test org.apache.cxf cxf-rt-frontend-jaxrs - 3.2.4 + 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 + - 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 * @@ -119,19 +163,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 - 1.2.2 + ${event.client.version} org.slf4j @@ -142,7 +186,19 @@ limitations under the License. org.onap.aai.event-client event-client-kafka - 1.2.2 + ${event.client.version} + + + org.slf4j + slf4j-api + + + + + + org.onap.aai.event-client + event-client-rabbitmq + ${event.client.version} org.slf4j @@ -176,7 +232,7 @@ limitations under the License. org.onap.aai rest-client - 1.2.1 + 1.5.0 @@ -203,7 +259,6 @@ limitations under the License. com.google.guava guava - 23.0 radeox @@ -215,12 +270,6 @@ limitations under the License. jackson-mapper-asl 1.4.5 - - dom4j - dom4j - 1.6.1 - provided - commons-io commons-io @@ -313,7 +362,7 @@ limitations under the License. org.mockito mockito-core - 1.10.19 + 2.15.0 test @@ -324,70 +373,159 @@ limitations under the License. - - ${project.artifactId} - - - org.apache.maven.plugins - maven-resources-plugin - 2.7 - - - copy-docker-file - package + + + + 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 - copy-resources + execute - target - true - - - ${basedir}/src/main/docker - true - - **/* - - - - ${basedir} - true - - bundleconfig-local/** - - - - ${basedir}/src/main/bin/ - - - - - + + 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 + ${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 + + + + + + + + + + ${project.artifactId} + + + + net.revelc.code.formatter + formatter-maven-plugin + 2.8.1 + + ${project.basedir}/onap-java-formatter.xml + + + + + org.codehaus.groovy.maven + gmaven-plugin + - com.spotify - docker-maven-plugin - 0.4.11 - - - com.github.jnr - jnr-unixsocket - 0.13 - - + 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 + + + - @@ -438,9 +576,6 @@ limitations under the License. org.apache.maven.plugins maven-deploy-plugin - - true - org.springframework.boot @@ -454,6 +589,23 @@ limitations under the License. + + maven-assembly-plugin + + + src/main/assembly/descriptor.xml + + + + + make-assembly + package + + single + + + + org.apache.maven.plugins maven-dependency-plugin @@ -467,28 +619,49 @@ 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/**/ + onap/*swagger**/ + ${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} + + + + + + + + + +