From b285db3aa9b126ed7856d3dc8a74aa1795ea256c Mon Sep 17 00:00:00 2001 From: Jimmy Forsyth Date: Wed, 1 Apr 2020 11:01:47 -0400 Subject: [PATCH] Fix sonar config Issue-ID: AAI-2580 Change-Id: Iecaeffcd619f367f03d877caff1607f88a5e3b24 Signed-off-by: Jimmy Forsyth --- pom.xml | 163 ++++++++++++++++++++++++++++++++++++++++++++++++++++- version.properties | 2 +- 2 files changed, 163 insertions(+), 2 deletions(-) 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} -- 2.16.6