Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-16771

Update checkstyle to 8.26 and maven-checkstyle-plugin to 3.1.0

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0, 3.1.4, 3.2.2
    • build
    • None
    • Reviewed
    • Updated checkstyle to 8.26 and updated maven-checkstyle-plugin to 3.1.0.

    Description

      After upgrading to the latest IDEA the IDE throws error message when I try to load the checkstyle xml

      TreeWalker is not allowed as a parent of LineLength Please review 'Parent Module' section for this Check in web documentation if Check is standard.

      This is caused by some backward incompatible changes in checkstyle source code

      IDEA uses checkstyle 8.26

      We should upgrade our checkstyle version to be compatible with IDEA's checkstyle plugin which is the latest.
      Also it's a good time to upgrade maven-checkstyle-plugin as well to 3.1.

      Attachments

        1. HADOOP-16771.001.patch
          3 kB
          Andras Bokor

        Issue Links

          Activity

            People

              boky01 Andras Bokor
              boky01 Andras Bokor
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: