diff options
-rw-r--r-- | pom.xml | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -86,6 +86,7 @@ <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.itReportPath>${project.build.directory}/coverage-reports/jacoco-it.exec</sonar.jacoco.itReportPath> + <sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/coverage-reports/jacoco-xml</sonar.coverage.jacoco.xmlReportPaths> <sonar.jacoco.reportMissing.force.zero>true</sonar.jacoco.reportMissing.force.zero> <sonar.projectVersion>${project.version}</sonar.projectVersion> <!-- Enable language to disable javascript analysis --> @@ -1113,6 +1114,19 @@ <destFile>${project.build.directory}/jacoco-dev.exec</destFile> </configuration> </execution> + <execution> + <id>post-integration-xml</id> + <goals> + <goal>report</goal> + </goals> + <phase>post-integration-test</phase> + <configuration> + <dataFile>${project.build.directory}/coverage-reports/jacoco.exec</dataFile> + <outputDirectory> + ${project.build.directory}/coverage-reports/jacoco-xml + </outputDirectory> + </configuration> + </execution> </executions> </plugin> |