Skip to content

Publish Spring BOM with Spring releases [SPR-10480] #15113

@spring-projects-issues

Description

@spring-projects-issues

Stevo Slavić opened SPR-10480 and commented

Even though Spring framework is modular, in typical Spring based Java web application most if not all Spring framework modules get used as dependencies, directly or transitively (from other frameworks in Spring portfolio, internal or 3rd party frameworks).

Apache Maven via dependencyManagement section allows one to control consistency of direct and transitive dependency versions. From practical personal experience, even ones that apply it, do that in limited fashion for only direct dependencies. Also, listing all Spring modules unnecessarily clutters build script when better solution is possible.

It would be great if Spring supported achieving this consistency, by making this practice almost effortless and clean, through publishing a BOM pom.xml with every new Spring release. It should contain dependencyManagement section with all published Spring framework modules listed as dependencies. Instead of listing all Spring modules in dependencyManagement section of each new project, one could then just import spring-bom module.


Affects: 3.2.2

Issue Links:

6 votes, 5 watchers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions