I am working on a multi-module maven module project and code coverage report generated by jacaco aggregate (path -->**/target/site/jacoco-aggregate/jacoco.xml.). unable to load this file while running the sonarqube maven command with custom path.
Please find the below custom path command. mvn sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=\target\site\jacoco-aggregate\jacoco.xml**
it’s resolved, after running the below command for custom path with multiple jacoco xml files.
mvn sonar:sonar -Dsonar.coverage.jacoco.xmlReportPaths=$(system.defaultworkingdirectory).…\target\site\jacoco\jacoco.xml,$(system.defaultworkingdirectory).…\target\site\jacoco-aggregate\jacoco.xml