Add support for multiple RuleSets
---------------------------------

         Key: MNG-1710
         URL: http://jira.codehaus.org/browse/MNG-1710
     Project: Maven 2
        Type: New Feature
  Components: maven-pmd-plugin  
    Versions: 2.0    
    Reporter: mike perham
     Fix For: 2.0.1
 Attachments: pmd.multi.rulesets.txt

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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to