Sonar scanner - 3.1
Java 1.7
I'm trying to configure sonar properties to get coverage from a multi-module project. Coverage is generated under the path: Module/build/jacoco/test.exec, so I wanted to add it to sonar.properties file according to documentation:
https://docs.sonarqube.org/display/PLUG/Code+Coverage+by+Unit+Tests+for+Java+Project
sonar.java.coveragePlugin=jacoco
sonar.jacoco.reportPaths=**/build/jacoco/*.exec
I was trying different combinations even with the absolute path but it seems that sonar-scanner doesn't see this property at all and always looks at default path. I'm always getting information in the logs that:
INFO: JaCoCoSensor: JaCoCo report not found : path\target\jacoco.exec
INFO: JaCoCoSensor: JaCoCo IT report not found: path\target\jacoco-it.exec
It does read other properties from the file like login, password, language, sources etc.
Also, the project is based on Gradle.