You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Andreas Dangel (JIRA)" <ji...@apache.org> on 2018/06/23 16:14:00 UTC

[jira] [Closed] (MPMD-268) Missing warnings about deprecated rules

     [ https://issues.apache.org/jira/browse/MPMD-268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Dangel closed MPMD-268.
-------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             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)