Skip to content

Create BOM for google-cloud-java #2307

@garrettjonesgoogle

Description

@garrettjonesgoogle

Example BOM:

https://github.com/spring-cloud/spring-cloud-gcp/blob/master/spring-cloud-gcp-dependencies/pom.xml

Here is how Spring Cloud uses the BOM for their dependencies:

https://spring.io/blog/2016/09/26/spring-cloud-camden-release-and-brixton-sr6-are-available

The work for us is the following:

  1. Extract dependencyManagement and pluginManagement to a dedicated pom.xml (e.g., artifact: google-cloud-java-bom)
  2. In the parent pom.xml, import the BOM

Then consumers can import the BOM too, instead of specifying individual versions.

Metadata

Metadata

Labels

api: coredependenciespriority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions