From: Jimmy Forsyth Date: Wed, 1 Apr 2020 15:01:47 +0000 (-0400) Subject: Fix sonar config X-Git-Tag: 1.6.2~2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fmodel-loader.git;a=commitdiff_plain;h=refs%2Fchanges%2F77%2F104877%2F2 Fix sonar config Issue-ID: AAI-2580 Change-Id: Iecaeffcd619f367f03d877caff1607f88a5e3b24 Signed-off-by: Jimmy Forsyth --- diff --git a/pom.xml b/pom.xml index c01e9a0..745615c 100644 --- a/pom.xml +++ b/pom.xml @@ -33,7 +33,7 @@ org.onap.aai.model-loader model-loader aai-model-loader - 1.6.1-SNAPSHOT + 1.6.2-SNAPSHOT @@ -68,6 +68,20 @@ 1.6.0 yyyyMMdd'T'HHmmss'Z' + + + + + + 0.75 + 0.8.5 + 3.2 + jacoco + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** + + 3.7.0.1746 + @@ -421,6 +435,153 @@ + + + + + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + **/gen/** + **/generated-sources/** + **/yang-gen/** + **/pax/** + + + + + + pre-unit-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + surefireArgLine + + + + + post-unit-test + test + + report + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + ${project.reporting.outputDirectory}/jacoco-ut + + + + pre-integration-test + pre-integration-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + failsafeArgLine + + + + + post-integration-test + post-integration-test + + report + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + ${project.reporting.outputDirectory}/jacoco-it + + + + default-check + + check + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + + BUNDLE + + + LINE + COVEREDRATIO + ${jacoco.line.coverage.limit} + + + + + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M4 + + + ${surefireArgLine} + + + **/IT*.java + + + + + org.apache.maven.plugins + maven-failsafe-plugin + 3.0.0-M4 + + + + integration-tests + + integration-test + verify + + + + ${failsafeArgLine} + + + + + + org.sonarsource.scanner.maven + sonar-maven-plugin + ${sonar.scanner.version} + + + + + diff --git a/version.properties b/version.properties index e8a5670..1e91e59 100644 --- a/version.properties +++ b/version.properties @@ -25,7 +25,7 @@ major=1 minor=6 -patch=1 +patch=2 base_version=${major}.${minor}.${patch}