[ https://issues.apache.org/jira/browse/MCHECKSTYLE-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17019765#comment-17019765 ]
Jeremy Landis commented on MCHECKSTYLE-384: ------------------------------------------- I'm going to open a new issue that is somewhat related. Plugin 3.1.0 of checkstyle has a major regression in my opinion which started me down the path of cleaning things up. The reports do not show the resulting aggregated rules that are violated. If I drop back to 3.0.0, I get that up through checkstyle 8.24. So to the outside user, maven checkstyle plugin 3.0.0 supports through checkstyle 8.24 with override without a problem. It breaks after due to api changes. Maven checkstyle plugin 3.1.0 regardless of the version it claims to use (8.19) through 8.28 fails to generate the aggregated rule violation section. Its there, just empty. I'm now reviewing 3.0.0 to 3.1.0 release to see if I can find where the problem is especially since version 3.0.0 actually works to a point. > Incompatibility to Checkstyle version >= 8.24 > ---------------------------------------------- > > Key: MCHECKSTYLE-384 > URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-384 > Project: Maven Checkstyle Plugin > Issue Type: Bug > Components: checkstyle:check > Affects Versions: 3.1.0 > Reporter: Martin > Priority: Blocker > Time Spent: 10m > Remaining Estimate: 0h > > The latest {{maven-checkstyle-plugin}} is incompatible to Checkstyle version > 8.24 and newer. The check for "LineLength" was moved from "TreeWalker" to > "Checker". > For further details see "Breaking backward compatibility" under > https://checkstyle.org/releasenotes.html#Release_8.24 > > {code:none|title=Maven Console Output} > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-checkstyle-plugin:3.1.0:check (validate) on > project top-secrect: Failed during checkstyle configuration: LineLength is > not allowed as a child in Checker -> [Help 1] > [ERROR] ... > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)