Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.13
-
None
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
- relates to
-
MCHECKSTYLE-272 Upgrade to Checkstyle 6.2
- Closed