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 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.