X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-parent%2Fpom.xml;h=77269570ea7ead99280b83b02fe28912c49bc76b;hb=ae74cfd469d290a2a9ede5e8ae10fed4851dbbf0;hp=b42675199bb208aef29a8350aa498e65ef0d147f;hpb=dc6f81cf4ce3c42e711f1cd0c6f50000d4e0101d;p=cps.git diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index b42675199..77269570e 100755 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -1,103 +1,73 @@ + + org.onap.oparent oparent - 3.1.0 + 3.2.0 4.0.0 org.onap.cps cps-parent - 0.0.1-SNAPSHOT + 3.1.0-SNAPSHOT pom org.onap.cps.Application - openjdk:11-jre-slim 11 - 2.6.0 - 0.76 - https://nexus.onap.org - 3.1.0 - UTF-8 - /content/repositories/releases/ - nexus3.onap.org:10001/onap/cps-service - ${project.reporting.outputDirectory}/jacoco-aggregate/jacoco.xml,${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml - 4.1.3 - 2.3.3.RELEASE - 1.8.0-beta4 - 1.5.0 - 4.2.0 - 3.0.18 - /content/repositories/snapshots/ - ${project.version} - + 0.97 - - - ecomp-releases - ECOMP Release Repository - ${nexusproxy}${releaseNexusPath} - - - ecomp-snapshots - ECOMP Snapshot Repository - ${nexusproxy}${snapshotNexusPath} - - + ${project.reporting.outputDirectory}/jacoco-aggregate + + ../jacoco-report/target/site/jacoco-aggregate/jacoco.xml + + - docker + Windows - false + + Windows + - - - - - 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 - - - - - - - + + python + + + + unix + + + unix + + + + python3 + @@ -145,7 +115,7 @@ org.springframework.boot spring-boot-maven-plugin - ${spring-boot-maven-plugin.version} + 2.3.3.RELEASE @@ -155,62 +125,39 @@ + + 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 + openapi-yaml-gen generate + compile - ${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 - + ${project.basedir}/docs/openapi/openapi.yml + openapi-yaml - - com.google.cloud.tools - jib-maven-plugin - ${jib-maven-plugin.version} - - - ${app} - USE_CURRENT_TIMESTAMP - - - ${base.image} - - - ${repository.name} - - ${tag.version} - - - - com.github.spotbugs spotbugs-maven-plugin - ${spotbugs-maven-plugin.version} + 4.1.3 com.github.spotbugs spotbugs - ${spotbugs.version} + 4.2.0 ${project.groupId} @@ -221,7 +168,7 @@ org.slf4j slf4j-simple - ${spotbugs.slf4j.version} + 1.8.0-beta4 @@ -237,6 +184,7 @@ If you run out of memory, changes the value of the effort element to 'Low'. --> + true Max Low @@ -262,6 +210,21 @@ + + org.jsonschema2pojo + jsonschema2pojo-maven-plugin + 1.1.1 + + ${java.version} + + + + + generate + + + + @@ -339,7 +302,7 @@ org.onap.oparent checkstyle - ${oparent.version} + 3.1.0 ${project.groupId} @@ -386,12 +349,21 @@ see https://www.testcontainers.org/features/configuration/#disabling-ryuk --> true + ${docker.pull.registry}/ org.jacoco jacoco-maven-plugin + + + org/onap/cps/event/model/* + org/onap/cps/rest/model/* + org/onap/cps/cpspath/parser/antlr4/* + org/onap/cps/ncmp/rest/model/* + + default-prepare-agent @@ -405,9 +377,6 @@ check - - org/onap/cps/rest/model/* - ${project.build.directory}/code-coverage/jacoco-ut.exec @@ -423,18 +392,6 @@ - - report - - report-aggregate - - verify - - - **/code-coverage/jacoco-ut.exec - - - @@ -445,6 +402,29 @@ org.sonarsource.scanner.maven sonar-maven-plugin + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + + generate-csv + prepare-package + + exec + + + + + ${script.executor} + ../cps-ri/src/main/resources/ + + yangResourceCsvGenerator.py + dmi-registry@2021-12-13 + dmi-registry@2022-02-10 + + + - \ No newline at end of file +