Update maven-checkstyle-plugin to version 2.16
Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/eb407389 Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/eb407389 Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/eb407389 Branch: refs/heads/master Commit: eb407389a644822006fdc185ff2d02ccc6dc0359 Parents: ff79af3 Author: Ville Skyttä <[email protected]> Authored: Sun Aug 16 15:24:27 2015 +0300 Committer: Ville Skyttä <[email protected]> Committed: Sun Aug 16 15:26:15 2015 +0300 ---------------------------------------------------------------------- etc/checkstyle.xml | 6 ++---- pom.xml | 4 ++-- tests/activemq5-unit-tests/pom.xml | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/eb407389/etc/checkstyle.xml ---------------------------------------------------------------------- diff --git a/etc/checkstyle.xml b/etc/checkstyle.xml index ab59aef..adb52e3 100644 --- a/etc/checkstyle.xml +++ b/etc/checkstyle.xml @@ -54,10 +54,6 @@ under the License. <module name="EqualsHashCode"/> <!-- Checks for illegal instantiations where a factory method is preferred. --> <module name="IllegalInstantiation"/> - <!-- Checks for redundant exceptions declared in throws clause such as duplicates, unchecked exceptions or subclasses of another declared exception. --> - <module name="RedundantThrows"> - <property name="allowUnchecked" value="true"/> - </module> <!-- Checks that long constants are defined with an upper ell. --> <module name="UpperEll"/> @@ -90,6 +86,8 @@ under the License. <property name="basicOffset" value="3"/> <property name="caseIndent" value="3"/> <property name="throwsIndent" value="3"/> + <property name="arrayInitIndent" value="3"/> + <property name="lineWrappingIndentation" value="3"/> </module> <module name="IllegalImport"> http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/eb407389/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 91e9f22..57fd1d4 100644 --- a/pom.xml +++ b/pom.xml @@ -910,7 +910,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.12</version> + <version>2.16</version> <dependencies> <!-- This was initially done to enforce name on Parameter annotation I've developed a customized check and I needed this jar to deploy the specialized checkstyle --> @@ -1014,7 +1014,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.12</version> + <version>2.16</version> <configuration> <configLocation>${activemq.basedir}/etc/checkstyle.xml</configLocation> <failsOnError>false</failsOnError> http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/eb407389/tests/activemq5-unit-tests/pom.xml ---------------------------------------------------------------------- diff --git a/tests/activemq5-unit-tests/pom.xml b/tests/activemq5-unit-tests/pom.xml index 2b04dca..58c3dc0 100644 --- a/tests/activemq5-unit-tests/pom.xml +++ b/tests/activemq5-unit-tests/pom.xml @@ -357,7 +357,7 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-checkstyle-plugin</artifactId> - <version>2.12</version> + <version>2.16</version> <configuration> <skip>true</skip> </configuration>
