[ http://jira.codehaus.org/browse/MCHECKSTYLE-27?page=all ]
Edwin Punzalan updated MCHECKSTYLE-27: -------------------------------------- Assign To: Edwin Punzalan Remaining Estimate: 2 hours Original Estimate: 2 hours > 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 > Assignee: Edwin Punzalan > Fix For: 2.0.1 > > Original Estimate: 2 hours > Remaining: 2 hours > > Here's the config I have: > {code:xml} > <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> > {code} > 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