aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2020-01-23 13:35:34 +0100
committersebdet <sebastien.determe@intl.att.com>2020-01-23 13:35:34 +0100
commit749c0f19a314d587c1cd1fae5870ad3dab640ef2 (patch)
tree02f0c5266d9ab6f0811f971bb8fd2dec91bfa6d7
parentcef5b582ed8f2f9a64203e737234e29434314b36 (diff)
Fix sonar
Fix sonar due to sonarcloud migration Issue-ID: CLAMP-626 Change-Id: I9e16331804e97aa1bdf6d771fda3f5c352590452 Signed-off-by: sebdet <sebastien.determe@intl.att.com>
-rw-r--r--pom.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index ba27daaed..9bc864396 100644
--- a/pom.xml
+++ b/pom.xml
@@ -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>