[
https://issues.apache.org/jira/browse/MCHECKSTYLE-384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17005365#comment-17005365
]
Roman Ivanov commented on MCHECKSTYLE-384:
------------------------------------------
Sorry for causing problems during updates.
Reason of why checkstyle is not following semantic versioning:
https://checkstyle.org/#Development_Cycle
https://github.com/checkstyle/checkstyle/issues/3709
8.X versions is full of heavy damages for compatibility, that we postponed for
many years.
Plugin can do nothing with this change, user config changes are unavoidable.
This issue should be closed.
> That should have been checkstyle 9.x
unfortunately no, minor version (it is minor update from checkstyle
perspective, there are bunch of others updates happening that require config
update) in checkstyle mean some non-bugs features are introduces. Other
plugins(eclipse-cs , sonar) have to be updated even when new Check is
introduced.
We will bump to 9.x probably when we update minimal jdk version or something
really big.
> 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)