Naresh - 2018-05-22

Hi All,

We are writing pmd java custom rules and we need help to understand below few points.
1. We wanted to run these pmd java custom rules againt our internal projects. How can we acheive this? Currently these rules are getting executed against the project in which we have these custom rules.
2. We have set different rule priotities in ruleset.xml file. But, there is no change/differenciation between high priority rule violation and low priority violation in the end report. Our requirement is to be able to distinguish rule violations based on rule priority (Like, high priority rule violations in RED in color). How can we achieve this? or can we customize the end report?
3. We are using gradle to run pmd rules. By default gradle is using pmd 5.6. If we hard code toolversion to 6.3.0, then we are getting NoClassFoundException for java custom Rule Class. Can you help us to fix this issue as we wanted to use latest version to write custom rules for xml.

Thank You in Advance.

Best Regards,
Naresh.