Using SonarQube to distribute checkstyle for multiple projects including Suppressions for eclipse

廉价感情. 提交于 2019-12-11 06:44:45

问题


We want to use Sonar as distributor for our checkstyle configuration. This is easy with Sonar's permalinks. The problem are the suppressions. If we add the suppressions global at GeneralSettings → Java → Checkstyle like:

<module name="SuppressionFilter">
    <property name="file" value="someFolder/suppressed_checks.xml"/>
</module>

there will be the same suppressions configuration for every checkstyle configuration via the permalink. If we add the SuppressionFilter module only for the checkstyle for one Project then it won't be included in the file from the permalink.

Is there a solution for this problem?

Thanks in advance

来源:https://stackoverflow.com/questions/18889430/using-sonarqube-to-distribute-checkstyle-for-multiple-projects-including-suppres

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