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 

Reply via email to