diff options
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 18 |
1 files changed, 11 insertions, 7 deletions
@@ -84,18 +84,22 @@ <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> <sonar.surefire.reportsPath>${project.build.directory}/surefire-reports</sonar.surefire.reportsPath> + <!-- The value below comes from the jacoco maven plugin output, sonar now takes xml only --> + <sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}/jacoco-html-xml-reports/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths> <!-- <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}/site/jacoco</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 --> <!-- <sonar.language>java</sonar.language> --> <!-- Parameters for Javascript coverage --> + <sonar.log.level>DEBUG</sonar.log.level> + <sonar.nodejs.executable>${project.build.directory}/${ui.react.src}/node/node</sonar.nodejs.executable> + <sonar.verbose>true</sonar.verbose> <sonar.sources>src/main,${project.build.directory}/${ui.react.src}/src</sonar.sources> - <sonar.javascript.lcov.reportPaths>${project.build.directory}/${ui.react.src}/coverage/lcov.info</sonar.javascript.lcov.reportPaths> - <sonar.exclusions>src/main/resources/**</sonar.exclusions> + <sonar.scm.exclusions.disabled>true</sonar.scm.exclusions.disabled> + <sonar.javascript.lcov.reportPaths>${project.build.directory}/${ui.react.src}/coverage/lcov.info</sonar.javascript.lcov.reportPaths> <sonar.coverage.exclusions>src/main/resources/**,target/ui-react/src/**/*.test.js,target/ui-react/src/setupTests.js,src/main/docker/kibana/*.py</sonar.coverage.exclusions> <docker.push.registry>localhost:5000</docker.push.registry> <docker.pull.registry>nexus3.onap.org:10001</docker.pull.registry> @@ -1081,7 +1085,7 @@ <dumpOnExit>true</dumpOnExit> <append>true</append> <includes> - <include>org.onap.clamp.*</include> + <include>org/onap/clamp/**</include> </includes> </configuration> <executions> @@ -1132,9 +1136,9 @@ <goal>report</goal> </goals> <configuration> - <includes> - <include>org.onap.clamp.*</include> - </includes> + <!-- Setting explicit path, so that we remember where it picks them up from --> + <dataFile>${project.build.directory}/jacoco.exec</dataFile> + <outputDirectory>${project.build.directory}/jacoco-html-xml-reports</outputDirectory> </configuration> </execution> </executions> |