[ http://jira.codehaus.org/browse/MCHECKSTYLE-18?page=all ]

Jason van Zyl moved MNG-587 to MCHECKSTYLE-18:
----------------------------------------------

        Version:     (was: 2.0-alpha-3)
    Fix Version:     (was: 2.0.1)
           type: Bug  (was: Improvement)
      Component:     (was: maven-checkstyle-plugin)
       Workflow: jira  (was: Maven)
            Key: MCHECKSTYLE-18  (was: MNG-587)
        Project: Maven 2.x Checkstyle Plugin  (was: Maven 2)

> Add support for custom ruleset in maven-checkstyle-plugin
> ---------------------------------------------------------
>
>          Key: MCHECKSTYLE-18
>          URL: http://jira.codehaus.org/browse/MCHECKSTYLE-18
>      Project: Maven 2.x Checkstyle Plugin
>         Type: Bug

>  Environment: Maven 2.0-alpha-3, WinXP SP2, Java 1.5.0_02
>     Reporter: John Fallows
>     Assignee: John Casey
>     Priority: Minor

>
>
> 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]

Reply via email to