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

PMD should use "sensible" default rulesets

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-beta-1
    • None
    • None

    Description

      When I add a PMD report to my pom.xml the PMD report claims that my class 'Address' should have a constructor.

      this is crazy talk - Address.java is an interface class.

      i guess this is really a PMD bug but i find it hard to believe that such a well established tool as PMD would still be throwing up bugs like this.

      Attachments

        1. PmdReport.java.diff
          2 kB
          Mark J. Titorenko
        2. MNG-1158-maven-pmd-plugin.patch
          3 kB
          Mark J. Titorenko
        3. Locator.java
          4 kB
          Mark J. Titorenko

        Issue Links

          Activity

            People

              Unassigned Unassigned
              davesag Dave Sag
              Votes:
              4 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: