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:
- Extract dependencyManagement and pluginManagement to a dedicated pom.xml (e.g., artifact: google-cloud-java-bom)
- In the parent pom.xml, import the BOM
Then consumers can import the BOM too, instead of specifying individual versions.
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:
Then consumers can import the BOM too, instead of specifying individual versions.