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

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.1.0
    • 3.1.1
    • checkstyle:check
    • None
    • 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

              eolivelli Enrico Olivelli
              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