You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Ahmed Ashour <as...@yahoo.com> on 2007/11/01 09:53:44 UTC
[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