From 9f84978c0bfd8638e58ed94e1383bf21e2ee6643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Paksy?= Date: Thu, 27 Feb 2025 12:47:42 +0100 Subject: [PATCH] HBASE-29155 Upgrade checkstyle to fix website build The website build failed with the following error: ``` [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.12.0:site (default-site) on project hbase: Error generating maven-checkstyle-plugin:3.1.0:checkstyle-aggregate report: Failed during checkstyle configuration: Exception was thrown while processing hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/replicas/ReplicaKey.java: IllegalStateException occurred while parsing file hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/replicas/ReplicaKey.java. hbase-balancer/src/main/java/org/apache/hadoop/hbase/master/balancer/replicas/ReplicaKey.java:43:35: expecting RPAREN, found 'other' -> [Help 1] ``` Checkstyle is not able to parse ReplicaKey.java (because of instanceOf pattern match syntax). Upgraded the maven-checkstyle-plugin plugin version and the checkstyle version which it uses. --- pom.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 922943576582..bacddbb987e8 100644 --- a/pom.xml +++ b/pom.xml @@ -903,14 +903,14 @@ - 8.29 + 10.21.3 3.1.0 2.28.0 2.4.2 1.0.0 1.8 3.3.0 - 3.1.0 + 3.6.0 2.10 3.0.1 3.4.0