[ http://jira.codehaus.org/browse/MNG-1113?page=comments#action_48015 ] 

Vincent Massol commented on MNG-1113:
-------------------------------------

Dave,

In checkstyle there are 2 things that you could configure as a user of 
checkstyle:

- the list of rules you want to apply on your projects and their parameters. 
See http://checkstyle.sourceforge.net/config.html
- custom rules that you can write in java and apply on your projects. 
Checkstyle comes bundled with hundreds of existing rules but you can add your 
own. See http://checkstyle.sourceforge.net/writingchecks.html

I thought MNG-587 was about this second point but I may have misunderstood.;.


> Plugin does not support using custom checkstyle XML config file
> ---------------------------------------------------------------
>
>          Key: MNG-1113
>          URL: http://jira.codehaus.org/browse/MNG-1113
>      Project: Maven 2
>         Type: Bug
>   Components: maven-checkstyle-plugin
>     Versions: 2.0-beta-3
>     Reporter: Vincent Massol

>
>
> The plugin source code says:
>     /**
>      * Specifies the location of the checkstyle properties that will be used 
> to check the source.
>      *
>      * @parameter
>      */
>     private File propertiesFile;
> But in practice it's only loading *properties* and not the XML. The 
> getConfigFile() method is not right and needs to be modified to take into 
> account a custom checkstyle config file.

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