[ http://jira.codehaus.org/browse/MCHECKSTYLE-38?page=all ] Brett Porter closed MCHECKSTYLE-38: -----------------------------------
Assign To: Brett Porter Resolution: Fixed > checsktyle:check seems to fail on warning too > --------------------------------------------- > > Key: MCHECKSTYLE-38 > URL: http://jira.codehaus.org/browse/MCHECKSTYLE-38 > Project: Maven 2.x Checkstyle Plugin > Type: Bug > Versions: 2.0 > Reporter: Vincent Massol > Assignee: Brett Porter > Fix For: 2.1 > Attachments: checkstyle-result.xml > > > failOnViolation=true is supposed to fail only on errors but it seems to be > failing on warnings too. See attached checkstyle result file which leads to > {noformat} > [...] > [INFO] [checkstyle:check {execution: default}] > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] You have 194 checkstyle violations. > [INFO] > ------------------------------------------------------------------------ > {noformat} > I think the problem is that the code checks for an <error> tag whereas it > should check for the "severity" attribute instead. -- 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