From 51dcabd7a306aa7af1fc37a61ea92c8344bb09b6 Mon Sep 17 00:00:00 2001 From: Sebastien Coquelin Date: Tue, 23 May 2017 16:00:40 -0400 Subject: Generate jacoco report Coverage is currently not reported in Sonar as report is not found Change-Id: Ibba1aa1b61d2f78a66d4c01366820bd4b592e65a Signed-off-by: Sebastien Coquelin --- pom.xml | 63 +++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 20 deletions(-) diff --git a/pom.xml b/pom.xml index c309f0e..6919f8c 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,5 @@ + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 org.openecomp.vid asdcclient @@ -93,25 +93,48 @@ - - - org.codehaus.mojo - versions-maven-plugin - 1.3.1 - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.7 - true - - ${nexusproxy} - 176c31dfe190a - ecomp-staging - - - - + + + org.codehaus.mojo + versions-maven-plugin + 1.3.1 + + + org.codehaus.mojo + sonar-maven-plugin + 3.2 + + + org.jacoco + jacoco-maven-plugin + 0.7.7.201606060606 + + true + + + + jacoco-initialize-unit-tests + + prepare-agent + + + ${project.build.directory}/coverage-reports/jacoco.exec + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.7 + true + + ${nexusproxy} + 176c31dfe190a + ecomp-staging + + + org.codehaus.mojo cobertura-maven-plugin 2.7 -- cgit 1.2.3-korg