I'm trying to figure out which rulesets the maven pmd plugin (I have version 3.4) uses by default.
According to the plugin website, it uses only basic.xml, unusedcode.xml and imports.xml. However, I can say for sure that it must also use unnecessary.xml and empty.xml (as we have failures in our code from those categories without changing the rules).
How do I figure out which other rulesets it's actually using by default?
I want to use the default rulesets, but I need to make a few minor adjustments, e.g. to the UselessParentheses rule as described here.
Other useful links:
According to the documentation of rulesets tag you are right:
Defaults to the java-basic, java-empty, java-imports, java-unnecessary and java-unusedcode rulesets