From 1ae4be04e20eca4490b52da474d455a2414168b4 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Tue, 7 May 2024 02:46:57 +0300 Subject: [PATCH] Use slf4j-bom and log4j-bom in dependencyManagement (#4346) ### Motivation When using SLF4J 2.0.x, it's useful to use slf4j-bom to align slf4j library versions. This is necessary to ensure that logging doesn't break due to mixed slf4j library versions. Similarly, it's useful to use log4j-bom to align log4j library versions. SLF4J 2.0.x upgrade was made in PR #4248 . ### Changes - use slf4j-bom and log4j-bom in dependencyManagement --- pom.xml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/pom.xml b/pom.xml index 5440051ab2e..bd6db151664 100644 --- a/pom.xml +++ b/pom.xml @@ -242,18 +242,17 @@ org.slf4j - slf4j-api + slf4j-bom ${slf4j.version} + pom + import org.apache.logging.log4j - log4j-core - ${log4j.version} - - - org.apache.logging.log4j - log4j-slf4j2-impl + log4j-bom ${log4j.version} + pom + import com.lmax