Sonar skips all modules except root one

I am trying to run sonar for an entire project using maven, but for some reason it skips submodules and only analyzes the root module. Are there any explanations for this strange behavior?

Any help is much appreciated!

Here is the final output of maven:

Here is maven final output


Addition

mvn clean install does not miss anything, but mvn sonar: sonar do.


+7
source share
2 answers

The SonarQube Maven plugin is an aggregator plugin. It runs only on the root module. This is the reason Maven blocks submodules as SKIPPED, even if they are parsed correctly.

+7
source

I cannot find the full description, but do you have a sonar .includedModules = rootModule?

A source

0
source

All Articles