Reputation: 5399
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:
mvn clean install doesn't skip anything, but mvn sonar:sonar do.
Upvotes: 10
Views: 6051
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