if we're copying ruleset files into the build dir & expecting very specific (and somewhat generic) file names in downstream processes, we should output everything into specific sub-directories under the maven build directory (e.g., target/pmd/report/pmd.xml, target/pmd/rulesets/pmd.xml)
Note: This improvement will change existing behavior by default.
Therefore a new parameter should be introduced to allow to change it back to the old behavior.
Reason why this improvement makes sense: In case, your ruleset is called "pmd.xml", then this conflicts with the report format xml, which is written to "target/pmd.xml" as well. Therefore, the rulesets should be copied into "target/pmd/rulesets/..." instead of to "target/" directly.