[ https://issues.apache.org/jira/browse/MCHECKSTYLE-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16996322#comment-16996322 ]
Benjamin Marwell edited comment on MCHECKSTYLE-384 at 12/14/19 3:43 PM: ------------------------------------------------------------------------ If maven checkstyle plugin updated checkstyle, the use could either * update his {{checkstyle.xml}} file * use a lower dependency of puppycrawl checkstyle. Here's a how to: [https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/upgrading-checkstyle.html] Updating checker to a higher version in this plugin would mean to release a new major version of this plugin. Sadly, the checkstyle maintainers did not do that, although they have a breaking change. That should have been checkstyle 9.x, not 8.24. was (Author: mampf86): If maven checkstyle plugin updated checkstyle, the use could either * update hishe {{checkstyle.xml}} file * use a lower dependency of puppycrawl checkstyle. Here's a how to: [https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/upgrading-checkstyle.html] Updating checker to a higher version would mean to update to a new make version. Sadly, checkstyle did not do that, although they have a breaking change. This should have been checkstyle 9.x, not 8.24. > 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 > > 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)