We are deploying our code in local and then we are running our Automation Test scripts and generating the Jacoco binary output xml report.
Finally when we provide this XML output to Sonar, for Projects with single module code coverage is shown correctly.
But For Multi Module Project, Code coverage is showing as 0.0%. Base directory shown in the sonar console is different from the actual code available directory.
- We have tried updating the directory using below , but still didn’t work
-Dsonar.sources=src -Dsonar.java.binaries=**/*"
-Dsonar.projectBaseDir=src/main/java
Kindly let us know your inputs, any way to make sonar work for Multi Module Projects