From 73001f6a64b3548a9584acc8c4bfe3a7806917e7 Mon Sep 17 00:00:00 2001 From: ToineSiebelink Date: Fri, 17 Sep 2021 15:07:38 +0100 Subject: Fix SonarQube (jacoco) code coverage reporting - Add report module for aggregating (as per jacocos current recommendation)( - increased overall (cps-parent) minimum code coverage to 0.97 - set lower minimum in modules that are not at that level (yet) - add exclude for cps-events generated code - made xml identing consistentent some pom files Issue-ID: CPS-475 Signed-off-by: ToineSiebelink Change-Id: If7b7839d7e03522575bc76a2253b613e63400b6b --- cps-ncmp-rest/pom.xml | 254 +++++++++++++++++++++++++------------------------- 1 file changed, 127 insertions(+), 127 deletions(-) (limited to 'cps-ncmp-rest/pom.xml') diff --git a/cps-ncmp-rest/pom.xml b/cps-ncmp-rest/pom.xml index e77ede50dc..2c44c24807 100644 --- a/cps-ncmp-rest/pom.xml +++ b/cps-ncmp-rest/pom.xml @@ -33,133 +33,133 @@ cps-ncmp-rest - - 0.5 - + + 0.95 + - - - ${project.groupId} - cps-ncmp-service - ${project.version} - - - org.springframework.boot - spring-boot-starter-web - - - org.springframework.boot - spring-boot-starter-tomcat - - - - - org.springframework.boot - spring-boot-starter-validation - - - org.springframework.boot - spring-boot-starter-jetty - - - io.swagger.core.v3 - swagger-annotations - - - - org.codehaus.groovy - groovy - test - - - org.codehaus.groovy - groovy-json - test - - - org.spockframework - spock-core - test - - - org.spockframework - spock-spring - test - - - cglib - cglib-nodep - test - - - org.springframework.boot - spring-boot-starter-test - test - - - org.junit.vintage - junit-vintage-engine - - - - - com.google.code.gson - gson - - + + + ${project.groupId} + cps-ncmp-service + ${project.version} + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-tomcat + + + + + org.springframework.boot + spring-boot-starter-validation + + + org.springframework.boot + spring-boot-starter-jetty + + + io.swagger.core.v3 + swagger-annotations + + + + org.codehaus.groovy + groovy + test + + + org.codehaus.groovy + groovy-json + test + + + org.spockframework + spock-core + test + + + org.spockframework + spock-spring + test + + + cglib + cglib-nodep + test + + + org.springframework.boot + spring-boot-starter-test + test + + + org.junit.vintage + junit-vintage-engine + + + + + com.google.code.gson + gson + + - - - - - io.swagger.codegen.v3 - swagger-codegen-maven-plugin - - - code-gen - - generate - - - ${project.basedir}/docs/openapi/openapi.yml - org.onap.cps.ncmp.rest.controller - org.onap.cps.ncmp.rest.model - org.onap.cps.ncmp.rest.api - spring - false - - src/gen/java - java11 - true - true - - - - - - - maven-resources-plugin - - - copy-resources - compile - - copy-resources - - - ${project.basedir}/target/classes/static/api-docs/cps-ncmp - - - ${project.basedir}/target/generated-sources/swagger/ - - openapi.yaml - - - - - - - - - + + + + + io.swagger.codegen.v3 + swagger-codegen-maven-plugin + + + code-gen + + generate + + + ${project.basedir}/docs/openapi/openapi.yml + org.onap.cps.ncmp.rest.controller + org.onap.cps.ncmp.rest.model + org.onap.cps.ncmp.rest.api + spring + false + + src/gen/java + java11 + true + true + + + + + + + maven-resources-plugin + + + copy-resources + compile + + copy-resources + + + ${project.basedir}/target/classes/static/api-docs/cps-ncmp + + + ${project.basedir}/target/generated-sources/swagger/ + + openapi.yaml + + + + + + + + + -- cgit 1.2.3-korg