如何从声纳分析中排除一些maven项目 [英] How to exclude some maven project from sonar analysis
问题描述
我有一个主pom文件包括所有其他插件项目。
现在通过使用 sonar:sonar
建立主文件,将构建所有插件。
所以我的问题:有没有什么办法可以排除一些插件让我们说A和C?
注意:此属性自4.3版以来已被弃用,不应再使用。
从文档 ,可以使用 sonar.skippedModules
跳过模块的选项您也可以从声纳管理页面如跳过模块部分所述, here 。
I have many(Let say 10 (A, B, C...)) eclipse plugin which is maven based.
I have one master pom file which includes all other plugin projects.
now by building master file with sonar:sonar
goal it will build all the plugins.
So my question: Is there is any way so that I can exclude some plugin let say A and C.?
NOTE: This property is deprecated since version 4.3 and should not be used anymore.
From the documentation, there is an option to skip module using sonar.skippedModules
You could also do this from the sonar admin page as documented in the Skipping Modules section here.
这篇关于如何从声纳分析中排除一些maven项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!