Skip to content

Commit b9efed8

Browse files
Upgrade Spring Boot 4/JDK 25 - build user-service
1 parent a32a431 commit b9efed8

8 files changed

Lines changed: 25 additions & 35 deletions

File tree

admin-server/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@
8585
</dependency>
8686

8787
<dependency>
88-
<groupId>org.springframework.session</groupId>
89-
<artifactId>spring-session-data-redis</artifactId>
88+
<groupId>org.springframework.boot</groupId>
89+
<artifactId>spring-boot-starter-session-data-redis</artifactId>
9090
</dependency>
9191

9292
<dependency>
@@ -95,8 +95,8 @@
9595
</dependency>
9696

9797
<dependency>
98-
<groupId>org.springframework.security</groupId>
99-
<artifactId>spring-security-oauth2-client</artifactId>
98+
<groupId>org.springframework.boot</groupId>
99+
<artifactId>spring-boot-starter-security-oauth2-client</artifactId>
100100
</dependency>
101101
</dependencies>
102102

authentication-common/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
-->
6767

6868
<dependency>
69-
<groupId>org.springframework.security</groupId>
70-
<artifactId>spring-security-oauth2-client</artifactId>
69+
<groupId>org.springframework.boot</groupId>
70+
<artifactId>spring-boot-starter-security-oauth2-client</artifactId>
7171
</dependency>
7272

7373
<dependency>
@@ -116,8 +116,8 @@
116116
<scope>test</scope>
117117
</dependency>
118118
<dependency>
119-
<groupId>org.springframework.security</groupId>
120-
<artifactId>spring-security-oauth2-resource-server</artifactId>
119+
<groupId>org.springframework.boot</groupId>
120+
<artifactId>spring-boot-starter-security-oauth2-resource-server</artifactId>
121121
</dependency>
122122
</dependencies>
123123

authentication-service/pom.xml

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@
3232
<artifactId>spring-boot-starter-mail</artifactId>
3333
</dependency>
3434

35-
<dependency>
36-
<groupId>org.springframework.boot</groupId>
37-
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
38-
</dependency>
39-
4035
<dependency>
4136
<groupId>org.springframework.security</groupId>
4237
<artifactId>spring-security-web</artifactId>
@@ -82,11 +77,6 @@
8277
<artifactId>spring-boot-starter-security-oauth2-authorization-server</artifactId>
8378
</dependency>
8479

85-
<dependency>
86-
<groupId>org.springframework.security</groupId>
87-
<artifactId>spring-security-oauth2-authorization-server</artifactId>
88-
</dependency>
89-
9080
<dependency>
9181
<groupId>org.springframework.boot</groupId>
9282
<artifactId>spring-boot-starter-data-mongodb</artifactId>
@@ -153,8 +143,8 @@
153143
</dependency>-->
154144

155145
<dependency>
156-
<groupId>org.springframework.security</groupId>
157-
<artifactId>spring-security-oauth2-resource-server</artifactId>
146+
<groupId>org.springframework.boot</groupId>
147+
<artifactId>spring-boot-starter-security-oauth2-resource-server</artifactId>
158148
</dependency>
159149

160150
<dependency>
@@ -181,8 +171,8 @@
181171
</dependency>
182172

183173
<dependency>
184-
<groupId>org.springframework.security</groupId>
185-
<artifactId>spring-security-oauth2-client</artifactId>
174+
<groupId>org.springframework.boot</groupId>
175+
<artifactId>spring-boot-starter-security-oauth2-client</artifactId>
186176
</dependency>
187177

188178
<dependency>
@@ -191,8 +181,8 @@
191181
</dependency>
192182

193183
<dependency>
194-
<groupId>org.springframework.session</groupId>
195-
<artifactId>spring-session-data-redis</artifactId>
184+
<groupId>org.springframework.boot</groupId>
185+
<artifactId>spring-boot-starter-session-data-redis</artifactId>
196186
</dependency>
197187

198188
<!-- Test dependencies -->

docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ services:
373373
# Using docker local jib maven
374374
#image: authentication-service:latest #fielcapao/microservices-design-patterns-authentication-service
375375
# Using docker raspberry pi image
376-
# image: fielcapao/microservices-design-patterns-authentication-service
376+
# image: fielcapao/microservices-design-patterns-authentication-service:latest
377377
container_name: authentication-api
378378
environment:
379379
- SPRING_PROFILES_ACTIVE=consul,dev,auth

edge-server/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
</dependency>
3535

3636
<dependency>
37-
<groupId>org.springframework.boot</groupId>
38-
<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
37+
<groupId>org.springframework.boot</groupId>
38+
<artifactId>spring-boot-starter-security-oauth2-resource-server</artifactId>
3939
</dependency>
4040

4141
<!--
@@ -160,8 +160,8 @@
160160
</dependency>
161161

162162
<dependency>
163-
<groupId>org.springframework.session</groupId>
164-
<artifactId>spring-session-data-redis</artifactId>
163+
<groupId>org.springframework.boot</groupId>
164+
<artifactId>spring-boot-starter-session-data-redis</artifactId>
165165
</dependency>
166166

167167
<!--

kotlin-service/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676
</dependency>
7777

7878
<dependency>
79-
<groupId>org.springframework.security</groupId>
80-
<artifactId>spring-security-oauth2-resource-server</artifactId>
79+
<groupId>org.springframework.boot</groupId>
80+
<artifactId>spring-boot-starter-security-oauth2-resource-server</artifactId>
8181
</dependency>
8282

8383
<dependency>

person-service/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@
100100
</dependency>
101101

102102
<dependency>
103-
<groupId>org.springframework.security</groupId>
104-
<artifactId>spring-security-oauth2-resource-server</artifactId>
103+
<groupId>org.springframework.boot</groupId>
104+
<artifactId>spring-boot-starter-security-oauth2-resource-server</artifactId>
105105
</dependency>
106106

107107
<dependency>

user-service/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@
8181
</dependency>
8282

8383
<dependency>
84-
<groupId>org.springframework.security</groupId>
85-
<artifactId>spring-security-oauth2-resource-server</artifactId>
84+
<groupId>org.springframework.boot</groupId>
85+
<artifactId>spring-boot-starter-security-oauth2-resource-server</artifactId>
8686
</dependency>
8787

8888
<dependency>

0 commit comments

Comments
 (0)