X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=cps-parent%2Fpom.xml;h=b76c63c6f7f06e4549b74341d024e40eaed7cd5f;hb=b14f04b6bd92b4dd6e3ed511ef5334db02e0b1ea;hp=bd7e1a529a7f75e5572e0d809e9b6976367b55a9;hpb=24c217c5eda9b5a889067d2f003a54439238bebe;p=cps.git diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml old mode 100644 new mode 100755 index bd7e1a529..b76c63c6f --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -1,98 +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 - https://nexus.onap.org - https://nexus.onap.org - 3.1.0 - /content/repositories/releases/ - nexus3.onap.org:10001/onap/cps-service - 2.3.3.RELEASE - 3.0.18 - /content/repositories/snapshots/ - /content/repositories/staging/ - ${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 + @@ -140,7 +115,7 @@ org.springframework.boot spring-boot-maven-plugin - ${spring-boot-maven-plugin.version} + 2.6.4 @@ -150,33 +125,106 @@ + + 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.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 + + check + + + + + + org.jsonschema2pojo + jsonschema2pojo-maven-plugin + 1.1.1 + + ${java.version} + + + + + generate + + + + @@ -192,6 +240,25 @@ org.apache.maven.plugins maven-checkstyle-plugin + + onap-license + + check + + process-sources + + onap-checkstyle/check-license.xml + false + true + false + + ${project.build.sourceDirectory} + + false + warning + true + + onap-java-style @@ -200,7 +267,9 @@ process-sources onap-checkstyle/onap-java-style.xml - ${project.build.sourceDirectory} + + ${project.build.sourceDirectory} + true true true @@ -209,12 +278,36 @@ true + + cps-java-style + + check + + process-sources + + cps-java-style.xml + + ${project.build.sourceDirectory} + + true + true + true + true + warning + true + + org.onap.oparent checkstyle - ${oparent.version} + 3.1.0 + + + ${project.groupId} + checkstyle + ${project.version} @@ -238,35 +331,100 @@ org.apache.maven.plugins maven-surefire-plugin - 3.0.0-M5 + + ${surefireArgLine} false **/*Spec.java **/*Test.java + + **/IT*.java + + + + 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 + + prepare-agent + + + + coverage-check + + check + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + + BUNDLE + + + INSTRUCTION + COVEREDRATIO + ${minimum-coverage} + + + + + + + - com.google.cloud.tools - jib-maven-plugin - ${jib-maven-plugin.version} + com.github.spotbugs + spotbugs-maven-plugin + + + org.sonarsource.scanner.maven + sonar-maven-plugin + + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + + generate-csv + prepare-package + + exec + + + - - ${app} - USE_CURRENT_TIMESTAMP - - - ${base.image} - - - ${repository.name} - - ${tag.version} - - + ${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 +