You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Allen (JIRA)" <ji...@codehaus.org> on 2006/01/09 00:29:02 UTC
[jira] Commented: (MPMD-3) Add support for multiple RuleSets
[ http://jira.codehaus.org/browse/MPMD-3?page=comments#action_55260 ]
John Allen commented on MPMD-3:
-------------------------------
Mike, thanks for your work on this, just a shame ive been working on it too without realising these MPMD ones were active. I would like to make one suggestion though, namely the comments i tacked onto MPMD-4 and MPMD-8 that we support a more flexible ruleset resource location mechanism such as that used by checkstyle rather than the symbolic binding youve gone for here.
> 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