From: Varun Gudisena Date: Fri, 1 Sep 2017 16:38:59 +0000 (-0500) Subject: Add Sonar configuration X-Git-Tag: v1.0.0~10 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fmessagerouter%2Fmirroragent.git;a=commitdiff_plain;h=cc8a86bf1bf582e0bb5e9f2c9ef2c3547c77574f;ds=sidebyside Add Sonar configuration Added sonar and jacoco configuration Issue-id: DMAAP-85 Change-Id: I4331dfb89042d6bfddbf49f7e7e61d37434e1f3a Signed-off-by: Varun Gudisena --- diff --git a/pom.xml b/pom.xml index cc1cb45..5089b52 100644 --- a/pom.xml +++ b/pom.xml @@ -39,6 +39,15 @@ 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/** @@ -145,6 +154,92 @@ + + 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 + + + +