The Maven team is pleased to announce the release of the Maven Checkstyle Plugin, version 2.10
Generates a report on violations of code style and optionally fails the build if violations are detected. http://maven.apache.org/plugins/maven-checkstyle-plugin You should specify the version in your project's plugin configuration: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.10</version> </plugin> Release Notes - Maven Checkstyle Plugin - Version 2.10 Bug * [MCHECKSTYLE-181] Upgrade to Checkstyle 5.6 * [MCHECKSTYLE-172] Checkstyle Plugin 2.8+ generates an additional aggregate report * [MCHECKSTYLE-167] Unconfigured checkstyle plugin duplicates entries in aggregated report * [MCHECKSTYLE-144] If 'src/main/java' does not exist in a project then checkstyle skips the other source folders of the project Improvement * [MCHECKSTYLE-175] Upgrade usage.htm to make it clear how configuration is done New Feature * [MCHECKSTYLE-184] Allow src/main/resources to be searched by Checkstyle Task * [MCHECKSTYLE-179] use plexus java 5 annotations instead of old-style javadoc annotations * [MCHECKSTYLE-178] use maven-plugin-tools' java 5 annotations Enjoy, -The Maven team