You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@apache.org> on 2015/05/01 15:51:06 UTC
[jira] [Commented] (MCHECKSTYLE-271) checkstyle plugin fails with
default ruleset and checkstyle 6.2
[ https://issues.apache.org/jira/browse/MCHECKSTYLE-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14523218#comment-14523218 ]
Dennis Lundberg commented on MCHECKSTYLE-271:
---------------------------------------------
The RedundantThrowsCheck was removed from the plugin in MCHECKSTYLE-276.
These checks have also been removed in Checkstyle 6.2+:
- JUnitTestCase
- StrictDuplicateCodeCheck
> checkstyle plugin fails with default ruleset and checkstyle 6.2
> ---------------------------------------------------------------
>
> Key: MCHECKSTYLE-271
> URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-271
> Project: Maven Checkstyle Plugin
> Issue Type: Bug
> Components: checkstyle:checkstyle, predefined ruleset: Sun
> Affects Versions: 2.13
> Reporter: Henning Schmiedehausen
> Fix For: 2.16
>
>
> 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.3.4#6332)