From 83cd45492799f43ab35fa03113f76cf417734036 Mon Sep 17 00:00:00 2001 From: "Thomas Nelson Jr (arthurdent3)" Date: Sun, 11 Feb 2018 17:17:53 -0500 Subject: Sonar Changes to pom file Trying to get Sonar working right. Code coverage is not showing up. Assuming its somethign missing from pom. Change-Id: I8a695ce6639666b79a2d92e4d5cb92307515a858 Issue-ID: MUSIC-24 Signed-off-by: Thomas Nelson Jr (arthurdent3) --- .gitreview | 2 +- pom.xml | 39 ++++++++++++++++++++++++++++++++++++++- 2 files changed, 39 insertions(+), 2 deletions(-) diff --git a/.gitreview b/.gitreview index 70ebed79..01a85b45 100644 --- a/.gitreview +++ b/.gitreview @@ -1,4 +1,4 @@ [gerrit] -host=gerrit.acumos.org +host=gerrit.onap.org port=29418 project=music.git diff --git a/pom.xml b/pom.xml index 9f72257e..d547f209 100755 --- a/pom.xml +++ b/pom.xml @@ -38,11 +38,20 @@ 3.4.6 UTF-8 UTF-8 + https://nexus.onap.org /content/repositories/snapshots/ /content/repositories/releases/ /content/repositories/staging/ /content/sites/site/org/openecomp/music/${project.version} + + java + jacoco + ${project.build.directory}/surefire-reports + ${project.build.directory}/code-coverage/jacoco-ut.exec + true + ${project.version} + @@ -194,7 +203,35 @@ sonar-maven-plugin 3.2 - + + org.jacoco + jacoco-maven-plugin + 0.7.7.201606060606 + + true + + org.openecomp.* + + + + + jacoco-initialize-unit-tests + + prepare-agent + + + ${project.build.directory}/coverage-reports/jacoco.exec + + + + + + + + maven-surefire-plugin + 2.17 + + -- cgit 1.2.3-korg