Uploaded image for project: 'Maven Checkstyle Plugin'
  1. Maven Checkstyle Plugin
  2. MCHECKSTYLE-384

Incompatibility to Checkstyle version >= 8.24 - Upgrade to 8.28

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.1
    • Component/s: checkstyle:check
    • Labels:
      None
    • Flags:
      Important

      Description

      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
       

      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] ...
      

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                eolivelli Enrico Olivelli
                Reporter:
                mkias Martin
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m