sonar skipping all modules except root one

匿名 (未验证) 提交于 2019-12-03 00:48:01

问题:

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:


ADDITION

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


回答1:

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.



回答2:

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

Source



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!