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

Warning about deprecated Rule name when using rulesets/maven.xml

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.3, 3.4
    • Fix Version/s: 3.5
    • Component/s: PMD
    • Labels:
      None

      Description

      I get this error if I update from maven-pmd-plugin 3.2 to 3.3 or 3.4:

      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.
      

      We should change that rule reference in src/main/resources/rulesets/maven.xml

        Attachments

          Activity

            People

            • Assignee:
              dennisl@apache.org Dennis Lundberg
              Reporter:
              dennisl@apache.org Dennis Lundberg
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: