SonarSource / sonar-scanning-examples

Shows how to use the Scanners
GNU Lesser General Public License v3.0
885 stars 2.19k forks source link

no line coverage with maven-multimodule example #66

Closed jens-meiss closed 2 years ago

jens-meiss commented 4 years ago

Hi,

i don't see any line coverage in Sonarqube UI if i run:

mvn clean verify sonar:sonar

on the project:

I only see 6 Code Smells and the 4 Unit Tests.

I see the line coverage in the jacoco output in the project folder:

Any hints what's maybe wrong?

badgerwithagun commented 4 years ago

Likewise.

naresh-chaudhary commented 3 years ago

@jens-meiss did you find a solve for this? I am also getting 0% line coverage in another project by following the exact same steps of multimodule project.

joe-tingsanchali-sonarsource commented 2 years ago

Hello,

For issues with using our example projects or any project, please create a new thread on our Sonar Community Forum: https://community.sonarsource.com/

Issues with regards to this specific repository belong here, but all other usage questions can be answered in the aforementioned forum.