-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Exclude commons-logging from managed dependencies #37890
Comments
I also wonder if |
Boot's own build bans I'm not sure there's much we can do for Maven. Could we add some configuration for the Enforcer plugin to |
I'm not sure we should try to configure the enforcer plugin but perhaps we can use our own plugin to check there isn't a commons-logging dependency. |
commons-logging:commons-logging
from managed dependencies
I am not a big fan of having the enforcer plugin configured in the parent either. The route of using our own plugin sounds really interesting! |
Related to spring-projects/spring-framework#31322, it looks like
org.apache.httpcomponents:httpclient
has a transitive dependency oncommons-logging:commons-logging
which is a dependency that creates conflicts with Spring Framework own implementation, and even worse that breaks the native compilation (see for details on spring-projects/spring-framework#30575).Discussing with @snicoll about that, we were wondering if it could be possible for Spring Boot dependency management to exclude
commons-logging:commons-logging
transitive dependency from the managed dependencies likeorg.apache.httpcomponents:httpclient
(and potentially other ones).The text was updated successfully, but these errors were encountered: