You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Henning Schmiedehausen (JIRA)" <ji...@codehaus.org> on 2015/01/05 22:09:10 UTC

[jira] (MCHECKSTYLE-271) checkstyle plugin fails with default ruleset and checkstyle 6.2

Henning Schmiedehausen created MCHECKSTYLE-271:
--------------------------------------------------

             Summary: checkstyle plugin fails with default ruleset and checkstyle 6.2
                 Key: MCHECKSTYLE-271
                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-271
             Project: Maven Checkstyle Plugin
          Issue Type: Bug
          Components: checkstyle:checkstyle, predefined ruleset: Sun
    Affects Versions: 2.13
            Reporter: Henning Schmiedehausen


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)





--
This message was sent by Atlassian JIRA
(v6.1.6#6162)