You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "mike perham (JIRA)" <ji...@codehaus.org> on 2006/01/08 22:41:01 UTC

[jira] Closed: (MPMD-3) Add support for multiple RuleSets

     [ http://jira.codehaus.org/browse/MPMD-3?page=all ]
     
mike perham closed MPMD-3:
--------------------------

     Resolution: Fixed
    Fix Version: 2.0-beta-1

Applied my own patch.

> Add support for multiple RuleSets
> ---------------------------------
>
>          Key: MPMD-3
>          URL: http://jira.codehaus.org/browse/MPMD-3
>      Project: Maven 2.x Pmd Plugin
>         Type: New Feature

>     Reporter: mike perham
>      Fix For: 2.0-beta-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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org