You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Allen (JIRA)" <ji...@codehaus.org> on 2006/02/24 17:12:36 UTC

[jira] Created: (MCHECKSTYLE-33) Patch provides ability to control whether check MOJO violations cause build failure (inline with pmd:check)

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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org