From 30d8a23e927d140a665333fb548e97a654cf59ee Mon Sep 17 00:00:00 2001 From: Varun Gudisena Date: Fri, 1 Sep 2017 10:59:23 -0500 Subject: Add Sonar configuration and plug in Added sonar configuration and plugin in pom.xl Issue-id: DMAAP-85 Change-Id: I5eee3523aaec4bbec8449e7ec3272cc3cf510196 Signed-off-by: Varun Gudisena --- pom.xml | 96 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 96 insertions(+) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index ee22349..2ccbdf0 100644 --- a/pom.xml +++ b/pom.xml @@ -41,6 +41,16 @@ 1.7 2.22.1 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/** @@ -213,6 +223,92 @@ 1.7 + + 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 + + + + -- cgit 1.2.3-korg