Hi Team,
I’m facing issues in configuring jacoco code coverage for a multi module with 12 modules maven project
Using sonarqube LTs 7.9 version with jacoco xml 1.1.0 plugin in sonarqube and
pom.xml plugins
maven plugin 2.5.0
sonar maven plugin 3.7.0
jacoco maven plugin 0.8.6
org.jacoco
jacoco-maven-plugin
0.8.6
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
<java.version>11</java.version>
<jacoco.version>0.8.6</jacoco.version>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.language>java</sonar.language>
<sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
<sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
<sonar.coverage.jacoco.xmlReportPaths>${project.build.directory}target/site/jacoco-ut/jacoco.xml</sonar.coverage.jacoco.xmlReportPaths>
<sonar.jacoco.reportsPaths>${project.build.directory}/jacoco.exec</sonar.jacoco.reportsPaths>
</properties>
pls suggest any changes as I’m getting 0 code coverage though I have configured unit tests
Thanks in advance