Before we dive under the hood of how things work, let's review the changes that we have made to our project. The first step was to enhance the build.gradle build configuration by importing a Bill of Material (BOM) declaration for a Spring Cloud release train—mavenBom 'org.springframework.cloud:spring-cloud-dependencies: Finchley.BUILD-SNAPSHOT'. While we could have selectively imported explicitly-defined versions of the spring-cloud-context and spring-cloud-commons libraries, by relying on a packaged BOM, we are sure that we will be using the correct versions of different artifacts that have been tested for compatibility with each other.
How it works...
Specific versions of each Spring Cloud modules that are included in a particular Release ...
Get Developing Java Applications with Spring and Spring Boot now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.