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 16:50:06 UTC
[jira] [Closed] (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:all-tabpanel ]
Dennis Lundberg closed MCHECKSTYLE-271.
---------------------------------------
Resolution: Fixed
Assignee: Dennis Lundberg
Fixed in [r1677158|http://svn.apache.org/viewvc?view=revision&revision=1677158].
> 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
> Assignee: Dennis Lundberg
> 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)