Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArchUnit 1.x is pulling in slf4j 2.x #4777

Closed
shakuzen opened this issue Feb 29, 2024 · 0 comments
Closed

ArchUnit 1.x is pulling in slf4j 2.x #4777

shakuzen opened this issue Feb 29, 2024 · 0 comments
Labels
build A change in our build-system type: task A general task
Milestone

Comments

@shakuzen
Copy link
Member

We were inadvertently ending up with slf4j 2 on the classpath in places that also have an archunit dependency. ArchUnit upgraded to slf4j 2 in its 1.0 release, but we didn't notice because our wiremock dependency was shadowing slf4j 1.x without changing the package and it was ending up getting loaded by the classloader rather than the slf4j jar. The shadowing in wiremock was changed to use a different package, which is what uncovered the slf4j dependency getting managed to 2.x through archunit.

See #4776
See #3414

@shakuzen shakuzen added type: task A general task build A change in our build-system labels Feb 29, 2024
@shakuzen shakuzen added this to the 1.9.18 milestone Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build A change in our build-system type: task A general task
Projects
None yet
Development

No branches or pull requests

1 participant