mirror of
https://github.com/lancedb/lancedb.git
synced 2026-11-26 20:44:00 +00:00
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
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
<description>Utilities to work with LanceDB Cloud and Enterprise via Lance REST Namespace</description>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<properties>
|
||||
<log4j.version>2.25.5</log4j.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>org.lance</groupId>
|
||||
@@ -93,21 +97,21 @@
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-slf4j2-impl</artifactId>
|
||||
<version>2.25.3</version>
|
||||
<version>${log4j.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-core</artifactId>
|
||||
<version>2.25.3</version>
|
||||
<version>${log4j.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-api</artifactId>
|
||||
<version>2.25.3</version>
|
||||
<version>${log4j.version}</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
Reference in New Issue
Block a user