Code Coverage is %0 on sonarqube

Hello,

I’m using sonar maven plugin(3.3.0) and sonarqube(5.6.6) with no problem. I want to upgrade sonarqube version but when i do that, sonar gives me “this module is not located in basedir” for other modules indicated as “Other modules that being used on my application”. I tried to manually give "Root module"s directory with sonar.projectBaseDir property, it builds and sends to sonarqube but now project’s line coverage is 0% I think problem is sonarqube is trying to show line coverage on my application but i want coverage on all modules. What can i do to show line coverage of all modules that being used on my application?

I have a project with tree view like this:

Root Module
|
|
Module 1
| |
| - Other modules that being used on my application
|
|
Module 2
| |
| - My application
| - Other modules that being used on my application
|
Module 3
- Other modules that being used on my application

Hi,
Could you please post the logs when you were getting the error (before overriding sonar.projectBaseDir)? I don’t remember the plugin having any problem handling projects with that kind of hierarchy.