From e133d52b9f8ea310c4aca08ca75a0806de758876 Mon Sep 17 00:00:00 2001 From: Varun Gudisena Date: Fri, 1 Sep 2017 11:38:03 -0500 Subject: [PATCH 1/1] Add Sonar configuration Added sonar and jacoco configuration Issue-id: DMAAP-85 Change-Id: I2cffc851e4a0ad3f1bf5c415596026c271924822 Signed-off-by: Varun Gudisena --- pom.xml | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 97 insertions(+), 3 deletions(-) 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 + + + + -- 2.16.6