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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3, 3.4
    • 3.5
    • PMD
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment