Skip to content

Spring Maven BOM dependency + remove commons-logging #937

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

Closed
wants to merge 2 commits into from

Conversation

praseodym
Copy link
Contributor

The Maven "bill of materials" dependency ensures that all Spring dependencies use the same version, without having to specify them all.

Furthermore, we remove all transitive commons-logging dependencies that are currently still present. Unfortunately Maven does not have a way to do this globally.

The Maven "bill of materials" dependency ensures that all Spring dependencies use the same version, without having to specify them all.
http://docs.spring.io/spring/docs/current/spring-framework-reference/htmlsingle/#overview-maven-bom
@jricher
Copy link
Member

jricher commented Oct 12, 2015

This looks promising, thanks!

We use slf4j instead; jcl-over-slf4j needs to be a compile-time dependency because we use it in several classes.

Unfortunately Maven does not have a way to exclude commons-logging globally, so we need to figure out which dependencies include it through `mvn dependency:tree` and specify an `<exclusion>` for each of them.

Finally, we upgrade to slf4j 1.7.12: http://www.slf4j.org/news.html.
@praseodym
Copy link
Contributor Author

Now it works ✨

@praseodym praseodym changed the title Use Maven BOM dependency for Spring Spring Maven BOM dependency + remove commons-logging Oct 12, 2015
@jricher
Copy link
Member

jricher commented Oct 13, 2015

Rebased and merged in d337e14

@jricher jricher closed this Oct 13, 2015
@praseodym praseodym deleted the spring-maven-bom branch October 13, 2015 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants