Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
None
Description
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.