Dear all, The reason was the 'severity level' of the custom checkstyle.xml.
Sorry for bothering. Ahmed ----- Original Message ---- From: Ahmed Ashour <[EMAIL PROTECTED]> To: Maven Users List <[email protected]> Sent: Thursday, November 1, 2007 11:53:44 AM Subject: [checkstyle-plugin] failsOnError does not work Dear all, Using maven-checkstyle-plugin 2.2-SNAPSHOT, 'failsOnError' does not fail the build. The following is part of POM, there are violations, but build succeeds. Any hints, Many thanks, Ahmed Ashour -------------------------------------------------------------------------------------- <build> <plugins> <plugin> <!-- Please use one of profiles in http://maven.apache.org/guides/development/guide-plugin-snapshot-repositories.html--> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> <version>2.2-SNAPSHOT</version> <configuration> <failsOnError>true</failsOnError> <configLocation>checkstyle.xml</configLocation> <suppressionsLocation>checkstyle_suppressions.xml</suppressionsLocation> <consoleOutput>true</consoleOutput> </configuration> </plugin> </plugins> </build> __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
