- SonarQube version: 4.5.1
- Sonar Ant task: 2.2
We have configured the sonar build using ANT; Currently we are facing below errors,
WARN: Coverage information was not collected. Perhaps you forget to include debug information into compiled classes
WARN: File '/aa/bb/cc/abc.xml' is ignored. It is not located in the module base dir '/a/b/c/d'
Java byte code scan WARN: class '/a/b/c/d/e/f' is not accessible through classLoader
[jacoco:report] classes in bundle 'project123'do not match with execution data. For report generation the same class files must be used at runtime
[jacoco:report] Execution data for class 'com/tttt/xyz/aaa12' does not match
[jacoco:report] To enable source code annotation class files for bundle 'project123' have to be compiled with debug information
Note:
- All classes are compiled including debug information i.e.
<javac debug="true" />
Our objective is to
Generate JaCoCo report
Display it on SonarQube dashboard (assume, Unit test coverage widget will display the coverage information?)
Not sure about the issue, hence need expert assistance.