Skip to content

Commit a155ee2

Browse files
authored
deps: Aggregatormicroservice patterns spring version up (#2883)
* Updated the imports in code of the single table inheritance pattern for Spring Boot 3.x #2825 Change javax library to jakarta * add pom.xml * Updated the imports in code of the healthcheck pattern for SpringBoot 3.x Change javax library to jakarta and update maven dependency versions * change order of imports to pass Checkstyle violations * change import order to pass lexicographical order test * change import order to pass CustomImportOrder warning * Updated the maven imports of layers pattern for SpringBoot 3.2.4 * remove unused maven import * Updated the maven imports of api-gateway pattern for SpringBoot 3.2.4 #2822 * Updated the maven imports of Aggregator Microservices pattern for SpringBoot 3.2.4 #2821
1 parent de5a93c commit a155ee2

File tree

4 files changed

+24
-2
lines changed

4 files changed

+24
-2
lines changed

Diff for: aggregator-microservices/aggregator-service/src/main/java/com/iluwatar/aggregator/microservices/Aggregator.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
import static java.util.Objects.requireNonNullElse;
2828

29-
import javax.annotation.Resource;
29+
import jakarta.annotation.Resource;
3030
import org.springframework.web.bind.annotation.GetMapping;
3131
import org.springframework.web.bind.annotation.RestController;
3232

Diff for: aggregator-microservices/pom.xml

+11
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@
3434
<modelVersion>4.0.0</modelVersion>
3535
<artifactId>aggregator-microservices</artifactId>
3636
<packaging>pom</packaging>
37+
<dependencyManagement>
38+
<dependencies>
39+
<dependency>
40+
<groupId>org.springframework.boot</groupId>
41+
<artifactId>spring-boot-dependencies</artifactId>
42+
<type>pom</type>
43+
<version>3.2.4</version>
44+
<scope>import</scope>
45+
</dependency>
46+
</dependencies>
47+
</dependencyManagement>
3748
<modules>
3849
<module>information-microservice</module>
3950
<module>aggregator-service</module>

Diff for: api-gateway/api-gateway-service/src/main/java/com/iluwatar/api/gateway/ApiGateway.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
*/
2525
package com.iluwatar.api.gateway;
2626

27-
import javax.annotation.Resource;
27+
import jakarta.annotation.Resource;
2828
import org.springframework.web.bind.annotation.GetMapping;
2929
import org.springframework.web.bind.annotation.RestController;
3030

Diff for: api-gateway/pom.xml

+11
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,17 @@
3434
<modelVersion>4.0.0</modelVersion>
3535
<artifactId>api-gateway</artifactId>
3636
<packaging>pom</packaging>
37+
<dependencyManagement>
38+
<dependencies>
39+
<dependency>
40+
<groupId>org.springframework.boot</groupId>
41+
<artifactId>spring-boot-dependencies</artifactId>
42+
<type>pom</type>
43+
<version>3.2.4</version>
44+
<scope>import</scope>
45+
</dependency>
46+
</dependencies>
47+
</dependencyManagement>
3748
<modules>
3849
<module>image-microservice</module>
3950
<module>price-microservice</module>

0 commit comments

Comments
 (0)