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

checkstyle plugin fails with default ruleset and checkstyle 6.2

    XMLWordPrintableJSON

    Details

      Description

      when using the 2.13 plugin with checkstyle 6.2, it fails with

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.13:check (default) on project otj-parent: Failed during checkstyle configuration: cannot initialize module TreeWalker - Unable to instantiate RedundantThrows: Unable to instantiate RedundantThrowsCheck -> [Help 1]

      because the sun ruleset contains RedundantThrows (https://github.com/apache/maven-plugins/blob/trunk/maven-checkstyle-plugin/src/main/resources/config/sun_checks.xml#L168) which got removed in checkstyle 6.2 (https://github.com/checkstyle/checkstyle/issues/473)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dennisl@apache.org Dennis Lundberg
                Reporter:
                hgschmie Henning Schmiedehausen
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: