aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgfraboni <gino.fraboni@amdocs.com>2017-08-23 10:23:24 -0400
committergfraboni <gino.fraboni@amdocs.com>2017-08-23 10:27:06 -0400
commit0e0b47691990bac87cf824de4baa61b432a280f7 (patch)
tree756eab99902d86475b2d4749aa7dcb516dedb7a4
parent37718448d46d7c4bf450ee9084c605b3955847b4 (diff)
Fix import of Jacoco report into Sonar
Jacoc exec file referenced in pom.xml conflicted with filename referenced in parent pom. Issue-ID: AAI-216 Change-Id: I11b511c27a1fbf2b920e9c277476b2ec6b0afbf5 Signed-off-by: gfraboni <gino.fraboni@amdocs.com>
-rw-r--r--pom.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 5c208c9..989ee72 100644
--- a/pom.xml
+++ b/pom.xml
@@ -18,7 +18,7 @@
<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}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
+ <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco-ut.exec</sonar.jacoco.reportPath>
<sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
</properties>
@@ -158,12 +158,13 @@
<goal>prepare-agent</goal>
</goals>
<configuration>
- <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
+ <destFile>${project.build.directory}/coverage-reports/jacoco.exec</destFile>
<!-- <append>true</append> -->
</configuration>
</execution>
</executions>
- </plugin>
+ </plugin>
+
</plugins>
</build>