Add dependency management for Micrometer set to a version required by / compatible with Apache Geode 1.14.

Apache Geode 1.14.x is based on Micrometer 1.6.3 while Spring Boot 3.0 (Spring Session 3.0) is based on Micrometer 2.0.

Micrometer 1.9 is the bridge between framework, libraries and product still based on Micrometer 1.x while application frameworks like Spring Boot use Micrometer 2.0.

Upgrade to Micrometer 1.9.0-M4.
This commit is contained in:
John Blum
2022-03-16 15:49:59 -07:00
parent ec450e1942
commit 3d1e7a2e5e
2 changed files with 3 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
org.gradle.jvmargs=-Xmx2g -Dfile.encoding=UTF-8
deployDocsHost=docs-ip.spring.io
apacheGeodeVersion=1.14.2
micrometerVersion=1.9.0-M4
# The Spring Boot & Spring Session version are the only required version properties.
# The other Spring version properties are for overriding/testing purposes.
springVersion=6.0.0-M2

View File

@@ -12,6 +12,7 @@ ext['logbackVersion'] = '1.2.3'
ext['lombokVersion'] = "1.18.22"
ext['junitVersion'] = '4.13.2'
ext['junitJupiterVersion'] = '5.8.2'
ext['micrometer.version'] = "$micrometerVersion"
ext['mockitoVersion'] = '4.2.0'
ext['multithreadedtcVersion'] = '1.01'
ext['seleniumHtmlUnitVersion'] = '2.56.0'
@@ -25,6 +26,7 @@ ext['springShellVersion'] = '1.2.0.RELEASE'
// Declare dependency management for the following dependencies.
dependencyManagement {
imports {
mavenBom "io.micrometer:micrometer-bom:$micrometerVersion"
mavenBom "org.springframework:spring-framework-bom:${springVersion}"
mavenBom "org.springframework.data:spring-data-bom:${springDataBomVersion}"
// mavenBom "org.springframework.session:spring-session-bom:${springSessionBomVersion}"