[ 
https://jira.codehaus.org/browse/MCHECKSTYLE-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg updated MCHECKSTYLE-271:
----------------------------------------

    Fix Version/s: 2.15

> 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
>             Fix For: 2.15
>
>
> 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)

Reply via email to