pick from jacoco.xml 55/100155/1
authorTaka Cho <takamune.cho@att.com>
Thu, 9 Jan 2020 21:06:13 +0000 (16:06 -0500)
committerTaka Cho <takamune.cho@att.com>
Thu, 9 Jan 2020 21:06:47 +0000 (16:06 -0500)
part 1: fix APPC's pom file

Issue-ID: APPC-1808
Change-Id: I4bc0caf34f5861d6597181fa003ef4ff2af18c52
Signed-off-by: Taka Cho <takamune.cho@att.com>
pom.xml

diff --git a/pom.xml b/pom.xml
index 8e0c55e..f818ab1 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -67,9 +67,9 @@ limitations under the License.
 
         <!-- SONAR -->
         <sonar.language>java</sonar.language>
-        <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
-        <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath>
-        <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
+        <sonar.coverage.jacoco.xmlReportPaths>
+            ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml
+        </sonar.coverage.jacoco.xmlReportPaths>
         <sonar.projectVersion>${project.version}</sonar.projectVersion>
         <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>