From a4ba11eabb01617686b5c269162d5a1a7784541b Mon Sep 17 00:00:00 2001 From: Ryan Baxter Date: Tue, 9 Aug 2016 14:31:13 -0400 Subject: [PATCH] Updated sonar profile configuration --- pom.xml | 43 ++++++++++++++++++------------------------- 1 file changed, 18 insertions(+), 25 deletions(-) diff --git a/pom.xml b/pom.xml index ba18ea10..bbca6b01 100644 --- a/pom.xml +++ b/pom.xml @@ -177,52 +177,45 @@ sonar - - false - org.jacoco jacoco-maven-plugin - 0.7.4.201502262128 - - ${sonar.jacoco.reportPath} - true - - agent + pre-unit-test prepare-agent + + surefireArgLine + ${project.build.directory}/jacoco.exec + + + + post-unit-test + test + + report + + + + ${project.build.directory}/jacoco.exec + org.apache.maven.plugins maven-surefire-plugin - - ${surefire.plugin.version} - - - listener - org.sonar.java.jacoco.JUnitListener - - + + ${surefireArgLine} - - - org.sonarsource.java - sonar-jacoco-listeners - 3.8 - test - -