Uploaded image for project: 'Maven PMD Plugin'
  1. Maven PMD Plugin
  2. MPMD-268

Missing warnings about deprecated rules

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.11.0
    • Component/s: PMD
    • Labels:
      None

      Description

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

      E.g. referencing this rule

      <rule ref="rulesets/java/basic.xml/CollapsibleIfStatements"/>

      Should give the warning:

      [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.
      

       

        Attachments

          Activity

            People

            • Assignee:
              adangel Andreas Dangel
              Reporter:
              adangel Andreas Dangel
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: