[ http://jira.codehaus.org/browse/MNG-1113?page=comments#action_51249 ]
Michael Böckling commented on MNG-1113: --------------------------------------- Same problem here - never imagined that one would actually hack a Checkstyle plugin whithout offering this possibility. I tried the attachment "recommended.txt" with the latest SVN checkout, but it doesn't even compile. I fixed the errors (and a bug) and uploaded it. To make the File property work, it is necessary to upgrade the commons-beanutils dependency in the POM to 1.7.0, else it won't work. Updating the checkstyle dependency to 4.0-beta6 won't hurt either, I use it since some time now and there are no problems. Anybody got an idea how to make custom checker classes work? I know its not yet implemented, but if somebody could point me into the right direction... I wrote quite a few custom checks, adding them as dependency to the project POM won't do the trick... > 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 > Assignee: Edwin Punzalan > Attachments: MNG-1113-maven-checkstyle-plugin.patch, > checkstyle-config-file.patch, recommended.txt > > > 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]
