How it works...

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.

Specific versions of each Spring Cloud modules that are included in a particular Release ...

Get Spring Boot 2.0 Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.