You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2018/06/23 16:00:00 UTC
[jira] [Commented] (MPMD-268) Missing warnings about deprecated
rules
[ https://issues.apache.org/jira/browse/MPMD-268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16521206#comment-16521206 ]
Hudson commented on MPMD-268:
-----------------------------
Build succeeded in Jenkins: Maven TLP » maven-pmd-plugin » master #38
See https://builds.apache.org/job/maven-box/job/maven-pmd-plugin/job/master/38/
> 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)