How can I import configuration files for FindBug/PMD (XML format) in sonar Qube? I know the way but where to find those XML files to import?
Asked
Active
Viewed 1,904 times
1 Answers
1
Here is the explanation of SonarQube and its integration
The SonarQube Java plugin alone already covers all the Checkstyle and PMD rules - which is why the related plugins are no more bundled in SonarQube. So you can get rid of those plugins and forget the related rules.
Concerning Findbugs, most rules are complementary to the SonarQube Java plugin rules. There's no "Sonar way with Findbugs" profile anymore because that's the convention for all the language plugin to have only a "Sonar way" profile.
For more information, you can refer to the original post at SonarQube - Combining Sonar way, FindBugs, PMD and Checkstyle without duplicates

Community
- 1
- 1

user3701861
- 151
- 1
- 7
-
thanks for the link, but i am using sonar qube 4.3 and it has default "sonar way with findbugs" but no PMD. It would be great if i could update this rule with latest findbugs rule. Thanks. @Qiu, Yes you are correct. – shazakham Aug 13 '15 at 10:24
-
Bare in mind that response dates back to 2015. The development rate of both Checkstyle and PMD have ramped up a lot since then, and have included rules which are not covered by SonarQube AFAIK. – Johnco Oct 13 '17 at 03:18