Skip to content

Commit 65ff741

Browse files
romain-grecourtdalexandrov
authored andcommitted
Fix SLF4J binding for annotation processors (helidon-io#7706)
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 helidon-io#7129
1 parent b33f717 commit 65ff741

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

inject/tools/pom.xml

+4
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,10 @@
6767
</dependency>
6868
<dependency>
6969
<!-- required as handlebars use slf4j -->
70+
<groupId>org.slf4j</groupId>
71+
<artifactId>slf4j-api</artifactId>
72+
</dependency>
73+
<dependency>
7074
<groupId>org.slf4j</groupId>
7175
<artifactId>slf4j-jdk14</artifactId>
7276
</dependency>

0 commit comments

Comments
 (0)