From c45a22e73aea4fb145e7deb9cc83c9b6b53c9b7a Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Tue, 24 Nov 2026 19:12:13 +0800 Subject: [PATCH] chore(java): align Log4j test dependencies to 2.25.5 (#5191) Supersedes #5178 and #5184. Update `log4j-api`, `log4j-core`, and `log4j-slf4j2-impl` in `java/lancedb-core/pom.xml` together from `2.25.3` to `2.25.5` via a module-local `log4j.version` property, avoiding the mixed Log4j versions from the two partial updates proposed in #5178 and #5184. All three dependencies remain in `test` scope. The Maven runtime dependency tree for `lancedb-core` is unchanged, and a downstream consumer does not inherit Log4j. Validation: - Maven `dependency:tree`: runtime tree unchanged; test tree aligned on `2.25.5`; downstream consumer does not inherit Log4j - Java 11 and Java 17 clean install: 37 tests passed on each - Java 8 release-style package with tests skipped: compiled cleanly --- java/lancedb-core/pom.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/java/lancedb-core/pom.xml b/java/lancedb-core/pom.xml index e68cb2297..4ef11eca6 100644 --- a/java/lancedb-core/pom.xml +++ b/java/lancedb-core/pom.xml @@ -17,6 +17,10 @@ Utilities to work with LanceDB Cloud and Enterprise via Lance REST Namespace jar + + 2.25.5 + + org.lance @@ -93,21 +97,21 @@ org.apache.logging.log4j log4j-slf4j2-impl - 2.25.3 + ${log4j.version} test org.apache.logging.log4j log4j-core - 2.25.3 + ${log4j.version} test org.apache.logging.log4j log4j-api - 2.25.3 + ${log4j.version} test