From dc7de893747b90b627d729f9f18a758bb4dad9d5 Mon Sep 17 00:00:00 2001 From: Robbie Gemmell Date: Thu, 10 Jun 2021 17:50:44 +0100 Subject: [PATCH] ARTEMIS-3341: update checkstyle, use consistent plugin version, fix some issues or tweak config to allow existing style --- .../activemq/artemis/utils/SensitiveDataCodec.java | 2 +- etc/checkstyle.xml | 6 +++++- pom.xml | 13 ++++++++----- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/SensitiveDataCodec.java b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/SensitiveDataCodec.java index cbd17e5ad0..5f3c08a861 100644 --- a/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/SensitiveDataCodec.java +++ b/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/SensitiveDataCodec.java @@ -32,5 +32,5 @@ public interface SensitiveDataCodec { T encode(Object secret) throws Exception; default void init(Map params) throws Exception { - }; + } } diff --git a/etc/checkstyle.xml b/etc/checkstyle.xml index c1c6aec69a..ede3c5a800 100644 --- a/etc/checkstyle.xml +++ b/etc/checkstyle.xml @@ -69,7 +69,11 @@ under the License. - + + + + + diff --git a/pom.xml b/pom.xml index 422906b750..b460f964ef 100644 --- a/pom.xml +++ b/pom.xml @@ -99,6 +99,9 @@ 2.6.0 3.0.0-M3 5.1.2 + 3.1.1 + 1.39.0 + 8.29 3.9.0 2.1.2 4.1.65.Final @@ -1538,17 +1541,17 @@ org.apache.maven.plugins maven-checkstyle-plugin - 3.1.1 + ${maven.checkstyle.plugin.version} com.github.sevntu-checkstyle - sevntu-checkstyle-maven-plugin - 1.29.0 + sevntu-checks + ${sevntu.checks.version} com.puppycrawl.tools checkstyle - 8.18 + ${checkstyle.version} @@ -1737,7 +1740,7 @@ org.apache.maven.plugins maven-checkstyle-plugin - 2.17 + ${maven.checkstyle.plugin.version} ${activemq.basedir}/etc/checkstyle.xml ${activemq.basedir}/etc/checkstyle-suppressions.xml