[ http://jira.codehaus.org/browse/MNG-1113?page=comments#action_48012 ]
Dave Sag commented on MNG-1113: ------------------------------- I am a little confused - what is there to configure in checkstyle apart from the rules? let me restate what i am trying to achieve. I have two checkstyle.xml files - one is checkstyle-src.xml which has very strict rules for the main source code, and checkstyle-test.xml which has a more relaxed set of rules for the test code - ie i don't care about package.html files or javadocs on private fields. i discovered recently that no matter what xml file i set as the propertiesFile in my config i get the default sun format. but if i refer to a properties file that is not actually there I get aa build failure when generating a checkstyle report. other than the rules set expressed in xml, i can't think what other checkstyle properties file i might wish to point to. > 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]
