[ https://jira.codehaus.org/browse/MCHECKSTYLE-255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy closed MCHECKSTYLE-255. ------------------------------------- Resolution: Fixed Assignee: Herve Boutemy added info on ignored errors in [r1650824|http://svn.apache.org/r1650824]: {noformat}[INFO] There are 4 checkstyle errors. [INFO] Ignored 4 errors, 0 violation remaining.{noformat} > First checkstyle error is not printed in the console ouput > ---------------------------------------------------------- > > Key: MCHECKSTYLE-255 > URL: https://jira.codehaus.org/browse/MCHECKSTYLE-255 > Project: Maven Checkstyle Plugin > Issue Type: Bug > Components: checkstyle:check > Affects Versions: 2.13 > Reporter: Andreas Gudian > Assignee: Herve Boutemy > Fix For: 2.14 > > > During fixing the checkstyle errors for surefire, I noticed that the very > first checkstyle error is not printed on the console ouput. > For example, the checkstyle-result.xml contains 111 errors for > surefire-common (in my local version) and for AbstractSurefireMojo.java, > there are two errors (file has too many lines, and @Nonnull at the wrong > position) > {code} > [INFO] There are 111 checkstyle errors. > [ERROR] AbstractSurefireMojo.java[2296:16] (modifier) ModifierOrder: > '@Nonnull' Annotation-Modifier sollte vor den anderen Modifie > rn stehen. > [ERROR] BooterSerializer.java[78:114] (whitespace) ParenPad: Vor ')' befindet > sich kein Leerzeichen. > ... nothing more about AbstractSurefireMojo.java > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 5.825s > [INFO] Finished at: Sat Oct 25 20:26:42 CEST 2014 > [INFO] Final Memory: 11M/109M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-checkstyle-plugin:2.13:check (default-cli) on > project maven-surefire > -common: You have 101 Checkstyle violations. -> [Help 1] > {code} > The summary about the failing build says something about 101 checkstyle > violations, not 111 errors as above. > I also noticed that if I fix all but one checkstyle error, the module passes > the test. The output contains just the line "[INFO] There are 1 checkstyle > errors." for that module and then continues with the next build. -- This message was sent by Atlassian JIRA (v6.1.6#6162)