You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@apache.org> on 2015/05/12 14:42:01 UTC
[jira] [Closed] (MPMD-208) Warning about deprecated Rule name when
using rulesets/maven.xml
[ https://issues.apache.org/jira/browse/MPMD-208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MPMD-208.
--------------------------------
Resolution: Pending Closed
Fix Version/s: 3.5
Assignee: Dennis Lundberg
I solved this in r1678923 by modifying our ruleset and adding the new rulesets empty.xml and unnecessary.xml, which contain rules that where previously found in basic.xml.
> Warning about deprecated Rule name when using rulesets/maven.xml
> ----------------------------------------------------------------
>
> Key: MPMD-208
> URL: https://issues.apache.org/jira/browse/MPMD-208
> Project: Maven PMD Plugin
> Issue Type: Bug
> Components: PMD
> Affects Versions: 3.3, 3.4
> Reporter: Dennis Lundberg
> Assignee: Dennis Lundberg
> Fix For: 3.5
>
>
> I get this error if I update from maven-pmd-plugin 3.2 to 3.3 or 3.4:
> {noformat}
> 2015-mar-25 13:59:01 net.sourceforge.pmd.RuleSetFactory parseRuleReferenceNode
> WARNING: Use Rule name rulesets/java/empty.xml/EmptyCatchBlock instead of the deprecated Rule name rulesets/java/basic.xml/EmptyCatchBlock. Future versions of PMD will remove support for this deprecated Rule name usage.
> {noformat}
> We should change that rule reference in {{src/main/resources/rulesets/maven.xml}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)