diff options
-rw-r--r-- | artifactbroker/pom.xml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/artifactbroker/pom.xml b/artifactbroker/pom.xml index 54983ef..53d6426 100644 --- a/artifactbroker/pom.xml +++ b/artifactbroker/pom.xml @@ -34,6 +34,10 @@ <version.logback>1.2.3</version.logback> <policy.common.version>1.3.4</policy.common.version> <policy.engine.version>1.3.5</policy.engine.version> + <sonar.language>java</sonar.language> + <sonar.coverage.jacoco.xmlReportPaths> + ${project.reporting.outputDirectory}/jacoco-ut/jacoco.xml + </sonar.coverage.jacoco.xmlReportPaths> </properties> <modules> <module>model</module> @@ -138,7 +142,7 @@ <goal>prepare-agent</goal> </goals> <configuration> - <destFile>${sonar.jacoco.reportPath}</destFile> + <destFile>${sonar.coverage.jacoco.xmlReportPaths}</destFile> <append>true</append> </configuration> </execution> @@ -149,7 +153,7 @@ <goal>report</goal> </goals> <configuration> - <dataFile>${sonar.jacoco.reportPath}</dataFile> + <dataFile>${sonar.coverage.jacoco.xmlReportPaths}</dataFile> </configuration> </execution> </executions> @@ -208,7 +212,7 @@ <goal>prepare-agent</goal> </goals> <configuration> - <destFile>${sonar.jacoco.reportPath}</destFile> + <destFile>${sonar.coverage.jacoco.xmlReportPaths}</destFile> </configuration> </execution> <execution> @@ -218,7 +222,7 @@ <goal>report</goal> </goals> <configuration> - <dataFile>${sonar.jacoco.reportPath}</dataFile> + <dataFile>${sonar.coverage.jacoco.xmlReportPaths}</dataFile> </configuration> </execution> </executions> |