From c8d96fb78defe0e1e2617c7dbba6efd126a3378d Mon Sep 17 00:00:00 2001 From: Romain Grecourt Date: Mon, 2 Oct 2023 18:21:31 -0700 Subject: [PATCH] Fix SLF4J binding for annotation processors Add slf4j-api as a dependency to inject/tools. This ensures when the compiler plugin resolves the processor transitive dependencies the resolved version of slf4j-api is the managed version. Otherwise we may end-up with different versions between slf4j-api and slf4j-jdk14 and a failed binding with the warning. Fixes #7129 --- inject/tools/pom.xml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/inject/tools/pom.xml b/inject/tools/pom.xml index 723f38f25fb..2fc22999387 100644 --- a/inject/tools/pom.xml +++ b/inject/tools/pom.xml @@ -67,6 +67,10 @@ + org.slf4j + slf4j-api + + org.slf4j slf4j-jdk14