From: Varun Gudisena Date: Fri, 1 Sep 2017 16:38:03 +0000 (-0500) Subject: Add Sonar configuration X-Git-Tag: v1.0.0~8 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=e133d52b9f8ea310c4aca08ca75a0806de758876;hp=3897930787973ece98ccc924ceb02eeccf5f0dcc;p=dmaap%2Fmessagerouter%2Fmsgrtr.git Add Sonar configuration Added sonar and jacoco configuration Issue-id: DMAAP-85 Change-Id: I2cffc851e4a0ad3f1bf5c415596026c271924822 Signed-off-by: Varun Gudisena --- diff --git a/pom.xml b/pom.xml index 644c9a0..7a50428 100644 --- a/pom.xml +++ b/pom.xml @@ -39,11 +39,19 @@ 3.2.14.RELEASE 3.0.4 1.2 - target/surefire-reports - target/cobertura/cobertura.ser 1.7 1.7 UTF-8 + + + 0.7.7.201606060606 + 3.2 + jacoco + + target/code-coverage/jacoco-ut.exec + target/code-coverage/jacoco-it.exec + + **/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/** @@ -332,7 +340,93 @@ xml - + + + 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 + + + +