Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-beta-1
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      1

      Description

      This adds the ability for the user to configure multiple rulesets with PMD as follows:

      <reporting>
      <plugins>
      <plugin>
      <groupId>org.apache.maven.plugins</groupId>
      <artifactId>maven-pmd-plugin</artifactId>
      <configuration>
      <rulesets>
      <ruleset>controversial</ruleset>
      <ruleset>design</ruleset>
      </rulesets>
      </configuration>
      </plugin>
      </plugins>
      </reporting>

      It is assumed that the ruleset can be found in classpath:/rulesets/<name>.xml. This is the convention PMD uses and the user can add their own rulesets in a JAR and run them with the same configuration as long as they have a unique name.

        Activity

        John Casey made changes -
        Field Original Value New Value
        Fix Version/s 2.0.2 [ 12107 ]
        Fix Version/s 2.0.1 [ 12000 ]
        Allan Ramirez made changes -
        Workflow Maven [ 42760 ] jira [ 44185 ]
        Fix Version/s 2.0.3 [ 12107 ]
        Project Maven 2 [ 10500 ] Maven 2.x Pmd Plugin [ 11140 ]
        Key MNG-1710 MPMD-3
        Affects Version/s 2.0 [ 11703 ]
        Component/s maven-pmd-plugin [ 11811 ]
        Jason van Zyl made changes -
        Workflow jira [ 44185 ] Maven [ 44904 ]
        Mike Perham made changes -
        Fix Version/s 2.0-beta-1 [ 12176 ]
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Brett Porter made changes -
        Workflow Maven [ 44904 ] Maven New [ 52208 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Mike Perham
          • Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: