X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-parent%2Fpom.xml;h=938e75eb4f490c59675075edb31f5f8f04db733e;hb=be21595d53636e2c9b912bfbe8dfdefb81edc70f;hp=89f9629a6f92da6328c0503182e2de478a1afc14;hpb=57bb1d811eac4011bfcdf3be1ea60d869879c147;p=cps.git diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml old mode 100644 new mode 100755 index 89f9629a6..938e75eb4 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -1,120 +1,63 @@ + + org.onap.oparent oparent - 3.1.0 + 3.2.0 4.0.0 org.onap.cps cps-parent - 0.0.1-SNAPSHOT + 1.1.0-SNAPSHOT pom org.onap.cps.Application - openjdk:11-jre-slim 11 - 2.6.0 - 0.20 - https://nexus.onap.org - 3.1.0 - UTF-8 - /content/repositories/releases/ - nexus3.onap.org:10001/onap/cps-service - 2.3.3.RELEASE - 3.0.18 - /content/repositories/snapshots/ - ${project.version} - - - - - ecomp-releases - ECOMP Release Repository - ${nexusproxy}${releaseNexusPath} - - - ecomp-snapshots - ECOMP Snapshot Repository - ${nexusproxy}${snapshotNexusPath} - - + 0.9 - - - docker - - false - - - - - - com.google.cloud.tools - jib-maven-plugin - ${jib-maven-plugin.version} - - - ${app} - USE_CURRENT_TIMESTAMP - - - ${base.image} - - - ${repository.name} - - ${tag.version} - - - - - - package - build - - dockerBuild - - - - deploy - buildAndPush - - build - - - - - - - - - - skip-db-tests - - - true - - - - - org.apache.maven.plugins - maven-surefire-plugin - - - **/spi/impl/*Test.java - - - - - - - + ${project.reporting.outputDirectory}/jacoco-aggregate + + ../cps-ri/target/site/jacoco-ut/jacoco.xml, + ../cps-ri/target/site/jacoco-aggregate/jacoco.xml, + ../cps-service/target/site/jacoco-ut/jacoco.xml, + ../cps-service/target/site/jacoco-aggregate/jacoco.xml, + ../cps-rest/target/site/jacoco-ut/jacoco.xml, + ../cps-rest/target/site/jacoco-aggregate/jacoco.xml, + ../cps-ncmp-service/target/site/jacoco-ut/jacoco.xml, + ../cps-ncmp-service/target/site/jacoco-aggregate/jacoco.xml, + ../cps-ncmp-rest/target/site/jacoco-ut/jacoco.xml, + ../cps-ncmp-rest/target/site/jacoco-aggregate/jacoco.xml, + ../cps-path-parser/target/site/jacoco-ut/jacoco.xml, + ../cps-path-parser/target/site/jacoco-aggregate/jacoco.xml, + ../cps-application/target/site/jacoco-ut/jacoco.xml, + ../cps-application/target/site/jacoco-aggregate/jacoco.xml + + @@ -160,7 +103,7 @@ org.springframework.boot spring-boot-maven-plugin - ${spring-boot-maven-plugin.version} + 2.3.3.RELEASE @@ -170,52 +113,92 @@ + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M5 + io.swagger.codegen.v3 swagger-codegen-maven-plugin - ${swagger-codegen-maven-plugin.version} + 3.0.27 + + + com.github.spotbugs + spotbugs-maven-plugin + 4.1.3 + + + com.github.spotbugs + spotbugs + 4.2.0 + + + ${project.groupId} + spotbugs + ${project.version} + + + + org.slf4j + slf4j-simple + 1.8.0-beta4 + + + + + + jp.skypencil.findbugs.slf4j + bug-pattern + 1.5.0 + + + + true + Max + + Low + + true + + spotbugs-exclude.xml + + true + + ${project.build.directory}/spotbugs + + + analyze-compile + compile - generate + check - - ${project.basedir}/docs/api/swagger/openapi.yml - org.onap.cps.rest.controller - org.onap.cps.rest.model - org.onap.cps.rest.api - spring - false - - src/gen/java - java11 - true - true - - - com.google.cloud.tools - jib-maven-plugin - ${jib-maven-plugin.version} + org.jsonschema2pojo + jsonschema2pojo-maven-plugin + 1.1.1 - - ${app} - USE_CURRENT_TIMESTAMP - - - ${base.image} - - - ${repository.name} - - ${tag.version} - - + ${java.version} + + + + generate + + + @@ -294,7 +277,7 @@ org.onap.oparent checkstyle - ${oparent.version} + 3.1.0 ${project.groupId} @@ -324,6 +307,7 @@ org.apache.maven.plugins maven-surefire-plugin + ${surefireArgLine} false @@ -333,11 +317,27 @@ **/IT*.java + + + true + ${docker.pull.registry}/ + org.jacoco jacoco-maven-plugin + + + org/onap/cps/rest/model/* + org/onap/cps/cpspath/parser/antlr4/* + org/onap/cps/ncmp/rest/model/* + + default-prepare-agent @@ -366,8 +366,28 @@ + + report + + report-aggregate + + verify + + + **/code-coverage/jacoco-ut.exec + + + + + com.github.spotbugs + spotbugs-maven-plugin + + + org.sonarsource.scanner.maven + sonar-maven-plugin + - \ No newline at end of file +