mr.nothing
mr.nothing

Reputation: 5399

sonar skipping all modules except root one

I'm trying to run sonar on entire project using maven, but for some reason it skips submodules and analyse only root module. Is there any explanation of such a strange behaviour?

Any help is greatly appreciated!

Here is maven final output:

Here is maven final output


ADDITION

mvn clean install doesn't skip anything, but mvn sonar:sonar do.


Upvotes: 10

Views: 6051

Answers (2)

Simon Brandhof
Simon Brandhof

Reputation: 5136

The SonarQube Maven Plugin is an aggregator plugin. It's executed only on the root module. That's the reason why Maven flags sub-modules as SKIPPED, even if they are correctly analysed.

Upvotes: 13

Cherry
Cherry

Reputation: 33544

I do not find full description, but have youtried sonar.includedModules=rootModule?

Source

Upvotes: 0

Related Questions