Apache Maven Checkstyle Plugin Version 2.14 Released

The Maven team is pleased to announce the release of the Apache Maven Checkstyle Plugin, version 2.14.

Generates a report on violations of code style and optionally fails the build if violations are detected.

You should specify the version in your project's plugin configuration:

1<plugin>
2  <groupId>org.apache.maven.plugins</groupId>
3  <artifactId>maven-checkstyle-plugin</artifactId>
4  <version>2.14</version>
5</plugin>

Release Notes - Apache Maven Checkstyle Plugin - Version 2.14

Bugs:

  • MCHECKSTYLE-255 First checkstyle error is not printed in the console ouput
  • MCHECKSTYLE-254 Update plexus-interpolation to avoid thread safety issues
  • MCHECKSTYLE-249 ITs failing when building on Windows from distribution prepared on Unix

Improvements:

  • MCHECKSTYLE-283 Move maven_checks.xml and maven-header.txt away from the plugin
  • MCHECKSTYLE-282 add info on ruleset used in report intro
  • MCHECKSTYLE-263 Removed dependency plexus-container-default:1.0-alpha-9-stable-1
  • MCHECKSTYLE-262 Upgrade to maven-plugins parent version 27
  • MCHECKSTYLE-257 display content/documentation of Checkstyle configurations predefined by maven-checkstyle-plugin in plugin's documentation site
  • MCHECKSTYLE-256 add Java package information to output, instead of class name only
  • MCHECKSTYLE-251 Upgrade to Checkstyle 5.8

Tasks:

  • MCHECKSTYLE-281 fail if deprecated parameters are used and display update instructions
  • MCHECKSTYLE-280 add documentation on upgrading Checkstyle at runtime
  • MCHECKSTYLE-276 remove RedundantThrows rule from default configs
  • MCHECKSTYLE-274 remove Avalon configuration since the Avalon project is retired

Enjoy,

-The Maven team