Hi @sergek,
When I said: Then could you check the content of target/site/jacoco-aggregate/jacoco.xml
I meant:
- If I don’t see the coverage of the file
module-1/src/main/java/pkg/Foo.java
in SonarQube - I check the report used to import the coverage of
module-1
(for example:module-1/target/site/jacoco-aggregate/jacoco.xml
) - In the xml file, I look for some data about
pkg/Foo
where thecovered
attribute is not always equal to"0"
If jacoco.xml
does not contains the coverage information that you are looking for, your problem could be related to this one: Jacoco XML format cannot work as good as the binary format for multi-module maven