Patch provides ability to control whether check MOJO violations cause build 
failure (inline with pmd:check)
-----------------------------------------------------------------------------------------------------------

         Key: MCHECKSTYLE-33
         URL: http://jira.codehaus.org/browse/MCHECKSTYLE-33
     Project: Maven 2.x Checkstyle Plugin
        Type: Improvement

    Reporter: John Allen
 Attachments: CheckstyleViolationCheckMojo.diff

Example: 

mvn -Dcheckstyle.failOnViolation=false checkstyle:check



Use case:

In the same way that test failures can be prevented from failing the buyild via 
a CLI arg, builds that enforce governance standards and policies such as no 
checkstyle violations, no PMD violations, at least XX% of test coverage, no 
javadoc warnings are more useful if they can also be deactivated via a CLI arg.

Note, my previous PMD:check mojo patch already provides support for this 
violation override.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to