Using SonarQube to distribute checkstyle for multi

2019-08-13 11:54发布

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

0条回答
登录 后发表回答