Code coverage of multimodule project is incomplete

Hello,

I m facing a issue while generating code coverage using latest SonarQube 8.1, I have a multi-module maven project.

main-project:

  • module-1 (jar)
  • module-2 (jar)
  • module-3 (war)

Currently i m facing issue regarding code coverage, SonarQube is only generating the code coverage for Module-1 and Module-2. Module-3 is shown completely uncovered although i have integration test cases in module-3.

I have made the following changes in my project by copying settings from the following project.

Hello,

Are you using jacoco?
For multimodule configuration, please refer to this thread: [Coverage & Test Data] Importing JaCoCo coverage report in XML format

If you could also provide a project reproducing your issue, that would help.

Regards,
Michael