From bc84fc35a44be9ee23b3c0b2681d07d324021ae1 Mon Sep 17 00:00:00 2001
From: sam-gardner <53271849+sam-gardner@users.noreply.github.com>
Date: Fri, 15 Mar 2024 15:39:33 +0000
Subject: [PATCH] JAVA-27542 Upgrade spring protobuf module to spring boot 3
(#16059)
---
spring-protobuf/pom.xml | 8 +++++---
.../com/baeldung/protobuf/ApplicationIntegrationTest.java | 2 +-
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/spring-protobuf/pom.xml b/spring-protobuf/pom.xml
index ea80ddaa1a..0e872508e4 100644
--- a/spring-protobuf/pom.xml
+++ b/spring-protobuf/pom.xml
@@ -9,9 +9,9 @@
com.baeldung
- parent-boot-2
+ parent-boot-3
0.0.1-SNAPSHOT
- ../parent-boot-2
+ ../parent-boot-3
@@ -37,12 +37,14 @@
org.apache.httpcomponents
httpclient
+ ${httpclient.version}
- 3.1.0
+ 3.25.3
1.4
+ 4.5.14
com.baeldung.protobuf.Application
diff --git a/spring-protobuf/src/test/java/com/baeldung/protobuf/ApplicationIntegrationTest.java b/spring-protobuf/src/test/java/com/baeldung/protobuf/ApplicationIntegrationTest.java
index df750db1db..8c339ef5dd 100644
--- a/spring-protobuf/src/test/java/com/baeldung/protobuf/ApplicationIntegrationTest.java
+++ b/spring-protobuf/src/test/java/com/baeldung/protobuf/ApplicationIntegrationTest.java
@@ -11,7 +11,7 @@ import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.boot.test.context.SpringBootTest.WebEnvironment;
-import org.springframework.boot.web.server.LocalServerPort;
+import org.springframework.boot.test.web.server.LocalServerPort;
import org.springframework.http.ResponseEntity;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;