Colin
(Colin)
April 8, 2024, 1:59pm
8
You can use GitHub - jborgers/sonar-pmd: ☕️ PMD Plugin for SonarQube (the latest version is compatible with SonarQube v9.9 ).
Alternatively you can import PMD reports as external analyzer reports
There was recently a discussion on choosing between plugin vs. importing reports here:
Hi,
You don’t mention what the differences are between the two methods. It would be interesting to know the details of that.
I can’t say there’s a real preference in general, but I can throw out some facts that may help you make your own decision:
We have seen in the past that merely having the FindBugs/SpotBugs plugin on board lengthens analysis duration even if you’re not using any of the rules in your profile. I have no idea whether this is still the case, but at least in the past it seem…
I’m guessing you’re concerned with XML here. You’ll be looking for xml:XPathCheck