From 56f6592d9a7b557429f1d138c85c1e36b66ac9b5 Mon Sep 17 00:00:00 2001 From: Glenn Renfro Date: Fri, 11 Dec 2015 17:15:04 -0500 Subject: [PATCH] SCT-18 update build to support sonar resolves spring-cloud/spring-cloud-task#18 --- pom.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/pom.xml b/pom.xml index 1bdd0c46..b4bf90b7 100755 --- a/pom.xml +++ b/pom.xml @@ -31,6 +31,7 @@ UTF-8 + ${project.build.directory}/coverage-reports/jacoco-ut.exec @@ -43,6 +44,7 @@ **/*Tests.java + ${surefireArgLine} @@ -59,6 +61,49 @@ maven-javadoc-plugin 2.10.3 + + org.jacoco + jacoco-maven-plugin + 0.7.5.201505241946 + + + + pre-unit-test + + prepare-agent + + + + ${project.build.directory}/coverage-reports/jacoco-ut.exec + + surefireArgLine + + + + + post-unit-test + test + + report + + + + ${project.build.directory}/coverage-reports/jacoco-ut.exec + + ${project.reporting.outputDirectory}/jacoco-ut + + + +