Add support for custom ruleset in maven-checkstyle-plugin
---------------------------------------------------------
Key: MNG-587
URL: http://jira.codehaus.org/browse/MNG-587
Project: Maven 2
Type: Improvement
Components: maven-plugins
Versions: 2.0-alpha-3
Environment: Maven 2.0-alpha-3, WinXP SP2, Java 1.5.0_02
Reporter: John Fallows
Currently, there is no way to supply a custom ruleset for the
maven-checkstyle-plugin.
A custom ruleset is likely to span multiple projects, and it doesn't make sense
to duplicate the custom ruleset file in each project.
Perhaps we could customize the maven-checkstyle-report plugin via ClassLoader
resource, so that a common dependency JAR (containing the custom ruleset
definition) could be included on the classpath by a parent POM, while the same
parent POM could be used to configure the maven-checkstyle-report (pointing to
the location of the custom ruleset definition inside the JAR as a classpath
resource). This assumes that the report plugin has a parameter such as
"configResourcePath".
Perhaps we also need a src/plugin/resources directory so that such a
classpath-based resource scheme could still work inside a single project. The
"plugin/resources" would be on the classpath during plugin execution only, and
would not contribute to either compilation or test classpaths.
--
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]