From 86590109c2ab29bc7ce06ab6556454f4c55bb2f7 Mon Sep 17 00:00:00 2001 From: Oleksandr Porunov Date: Wed, 16 Sep 2026 13:49:33 +0100 Subject: [PATCH] Update Caffeine to 3.2.4, Checkstyle to 10.26.1 and audience-annotations to 0.15.1 These are the dependency updates that were blocked on Java 8 support and listed as follow-ups in #3547 (Mockito 5 was already done with the TinkerPop 3.8.2 upgrade): * Caffeine 2.9.3 -> 3.2.4. Caffeine 3 requires Java 11. JanusGraph only uses the builder API (maximumSize/maximumWeight, weigher, expireAfterWrite, removalListener, executor, recordStats) and Cache methods that are unchanged in 3.x; none of the removed APIs (CacheWriter, StatsCounter recordEviction variants, CacheStats constructors) are used. Caffeine 3.2 declares jspecify and error_prone_annotations instead of checker-qual, so the now pointless checker-qual exclusion in janusgraph-core is dropped and the managed error_prone_annotations is raised from 2.30.0 to 2.50.0 to satisfy the enforcer's upper bound rule. * Checkstyle 9.3 -> 10.26.1 with maven-checkstyle-plugin 3.4.0 -> 3.6.0. 10.26.1 is the last Checkstyle line that runs on Java 11 (Checkstyle 11+ requires Java 17, which the Java 11 build lanes cannot use). The inline rule set needs no changes and reports zero violations on all modules. * audience-annotations 0.13.0 -> 0.15.1 (only a managed version for the hbase-shaded-client transitive dependency). Co-Authored-By: Claude Fable 5.1 Signed-off-by: Oleksandr Porunov --- janusgraph-core/pom.xml | 6 ------ pom.xml | 11 ++++++----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/janusgraph-core/pom.xml b/janusgraph-core/pom.xml index 36404ad3af..b26f7c686c 100644 --- a/janusgraph-core/pom.xml +++ b/janusgraph-core/pom.xml @@ -84,12 +84,6 @@ com.github.ben-manes.caffeine caffeine - - - org.checkerframework - checker-qual - - diff --git a/pom.xml b/pom.xml index cad845acab..5b4c9503fa 100644 --- a/pom.xml +++ b/pom.xml @@ -117,7 +117,7 @@ 9.4.57.v20241219 2.23.1 24.0.2 - 2.9.3 + 3.2.4 3.46.0 5.7.0 false @@ -293,12 +293,13 @@ org.apache.maven.plugins maven-checkstyle-plugin - 3.4.0 + 3.6.0 com.puppycrawl.tools checkstyle - 9.3 + + 10.26.1 @@ -774,7 +775,7 @@ org.apache.yetus audience-annotations - 0.13.0 + 0.15.1 org.apache.avro @@ -952,7 +953,7 @@ com.google.errorprone error_prone_annotations - 2.30.0 + 2.50.0 commons-codec