Andreas Dangel created MPMD-268:
-----------------------------------

             Summary: Missing warnings about deprecated rules
                 Key: MPMD-268
                 URL: https://issues.apache.org/jira/browse/MPMD-268
             Project: Maven PMD Plugin
          Issue Type: Bug
          Components: PMD
            Reporter: Andreas Dangel
            Assignee: Andreas Dangel
             Fix For: 3.11.0


If you use a custom ruleset, which contains deprecated rules, then a warnings 
is expected.

E.g. referencing this rule
{noformat}
<rule ref="rulesets/java/basic.xml/CollapsibleIfStatements"/>{noformat}
Should give the warning:
{noformat}
[WARNING] Use Rule name category/java/design.xml/CollapsibleIfStatements 
instead of the deprecated Rule name 
rulesets/java/basic.xml/CollapsibleIfStatements. PMD 7.0.0 will remove support 
for this deprecated Rule name usage.
{noformat}
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to