Skip to content

SLF4J API dependency conflict #28542

@marschall

Description

@marschall

spring-boot-dependencies:2.5.6 includes HikariCP:4.0.3 and slf4j:1.7.32. I believe this is a conflict because on JDK 11 HikariCP:4.0.3 depends on slf4j:2.0.0-alpha1 https://github.com/brettwooldridge/HikariCP/blob/HikariCP-4.0.3/pom.xml#L605. It currently seems to work by chance as HikariCP does not yet seem to call any new API.

Note that HikariCP:4.0.3 is outdated and in maintenance mode, the current version is HikariCP:5.0.0 which requires JDK 11.

A reproducer can be found here: https://github.com/marschall/hikari-dependencies

Screenshot from m2eclipse:
overriding-managed-version

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions