问题
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