[
https://issues.apache.org/jira/browse/MCHECKSTYLE-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005508#comment-17005508
]
Benjamin Marwell commented on MCHECKSTYLE-384:
----------------------------------------------
Actually, the Reporter got it wrong. He wrote:
> The latest maven-checkstyle-plugin is incompatible to Checkstyle version 8.24
This is not entirely true, since this plugin is only a wrapper to some
checkstyle version which happens to default to 8.19 atm.
That particular perspective seems also be shared on the maven dev mailing list.
Although I would not want to break the plugin compatiblity with the default
installations, this way of thinking eases the pain a little (given enough
documentation). Other impacts are:
https://issues.apache.org/jira/browse/MCHECKSTYLE-387 and possibly others.
> 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)