[ http://jira.codehaus.org/browse/MCHECKSTYLE-27?page=comments#action_57564 ]
Vincent Massol commented on MCHECKSTYLE-27: ------------------------------------------- I just wanted to say that I have tried it again with checkstyle plugin v2.0 and it's not working any better.... > checktyle:check does not use custom checkstyle xml files when used in a > multiproject mode with a build-tools project passed as a plugin dependency > -------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MCHECKSTYLE-27 > URL: http://jira.codehaus.org/browse/MCHECKSTYLE-27 > Project: Maven 2.x Checkstyle Plugin > Type: Bug > Reporter: Vincent Massol > > > Here's the config I have: > <build> > <plugins> > <plugin> > <artifactId>maven-checkstyle-plugin</artifactId> > <dependencies> > <dependency> > <groupId>org.codehaus.cargo</groupId> > <artifactId>cargo-build-tools</artifactId> > <version>0.8-SNAPSHOT</version> > </dependency> > </dependencies> > <executions> > <execution> > <configuration> > <configLocation>build-tools/checkstyle.xml</configLocation> > <headerLocation>build-tools/checkstyle.license</headerLocation> > > <suppressionsLocation>build-tools/checkstyle-suppressions.xml</suppressionsLocation> > </configuration> > <goals> > <goal>check</goal> > </goals> > </execution> > </executions> > </plugin> > </plugins> > </build> > When i run the project I get lots of checkstyle errors due to the fact that > checkstyle is using the default rules and not my projcect's. > Note that I have created a build-tools project as defined in tips.apt. -- 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]