Henning Schmiedehausen created MPMD-175:
-------------------------------------------
Summary: Work around PMD bug #1155 which crashes the plugin with
an empty ruleset element.
Key: MPMD-175
URL: https://jira.codehaus.org/browse/MPMD-175
Project: Maven PMD Plugin
Issue Type: Improvement
Components: CPD, PMD
Affects Versions: 3.0.1
Reporter: Henning Schmiedehausen
This is a workaround for a bug in PMD up to and including 5.0.5 (I have an
outstanding pull request to fix it for 5.0.6).
The PMD plugin passes an empty ruleset list into the RulesetFactory in PMD
which in turn crashes. The workaround is to use a dummy ruleset that does
nothing when no other rules are present.
Unfortunately it is not possible to just omit the ruleset element in some cases
(because then the default list of rulesets is used). In my use case, I want the
plugin to be present but no rules active.
The pull request to fix this problem is here:
https://github.com/apache/maven-plugins/pull/16
The patch is here: https://github.com/apache/maven-plugins/pull/16.patch
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira