Skip to content

Commit 6ed6e44

Browse files
committed
Merge remote-tracking branch 'origin/4.2.x'
Signed-off-by: Olga Maciaszek-Sharma <[email protected]> # Conflicts: # docs/package.json
2 parents b68fb32 + ae520ef commit 6ed6e44

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@antora/atlas-extension": "1.0.0-alpha.2",
55
"@antora/collector-extension": "1.0.1",
66
"@asciidoctor/tabs": "1.0.0-beta.6",
7-
"@springio/antora-extensions": "1.14.2",
7+
"@springio/antora-extensions": "1.14.4",
88
"@springio/asciidoctor-extensions": "1.0.0-alpha.16"
99
}
1010
}

spring-cloud-commons-dependencies/pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
<name>spring-cloud-commons-dependencies</name>
1616
<description>Spring Cloud Commons Dependencies</description>
1717
<properties>
18+
<okhttp.version>4.12.0</okhttp.version>
1819
</properties>
1920
<dependencyManagement>
2021
<dependencies>
@@ -53,6 +54,20 @@
5354
<artifactId>spring-cloud-test-support</artifactId>
5455
<version>${project.version}</version>
5556
</dependency>
57+
<!-- Spring Boot removed its dependency management of okhttp in Spring Boot 3.4.0 -->
58+
<!-- This resulted in a different version fo okhttp in Spring Cloud 2024.0.0 -->
59+
<!-- We will now manage the version in Spring Cloud Commons to maintain backward compatibility -->
60+
<!-- This can be removed in the next major -->
61+
<dependency>
62+
<groupId>com.squareup.okhttp3</groupId>
63+
<artifactId>okhttp</artifactId>
64+
<version>${okhttp.version}</version>
65+
</dependency>
66+
<dependency>
67+
<groupId>com.squareup.okhttp3</groupId>
68+
<artifactId>logging-interceptor</artifactId>
69+
<version>${okhttp.version}</version>
70+
</dependency>
5671
</dependencies>
5772
</dependencyManagement>
5873
<profiles>

spring-cloud-commons/pom.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,16 @@
176176
<artifactId>httpclient5</artifactId>
177177
<optional>true</optional>
178178
</dependency>
179+
<dependency>
180+
<groupId>com.squareup.okhttp3</groupId>
181+
<artifactId>okhttp</artifactId>
182+
<optional>true</optional>
183+
</dependency>
184+
<dependency>
185+
<groupId>com.squareup.okhttp3</groupId>
186+
<artifactId>logging-interceptor</artifactId>
187+
<optional>true</optional>
188+
</dependency>
179189
<dependency>
180190
<groupId>org.springframework.boot</groupId>
181191
<artifactId>spring-boot-starter-test</artifactId>

0 commit comments

Comments
 (0)