Skip to content

Commit db1f720

Browse files
committed
Update to Spring Boot 3.0.0
1 parent 05ff776 commit db1f720

File tree

7 files changed

+24
-23
lines changed

7 files changed

+24
-23
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
- name: Checkout source code
3636
uses: actions/checkout@v2
3737

38-
- name: Setup Java 1.8
38+
- name: Setup Java 17
3939
uses: actions/setup-java@v1
4040
with:
41-
java-version: 1.8
41+
java-version: 17
4242

4343
- name: Cache Maven packages
4444
uses: actions/cache@v2
@@ -71,4 +71,4 @@ jobs:
7171
maven-repo-server-username: ${{ secrets.GITHUB_USER }}
7272
maven-repo-server-password: ${{ secrets.MAVEN_ACCESS_TOKEN }}
7373
env:
74-
JAVA_HOME: /usr/lib/jvm/java-1.8-openjdk/
74+
JAVA_HOME: /usr/lib/jvm/java-17-openjdk/

pom.xml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,19 @@
4343
<properties>
4444
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4545
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
46-
<java.version>1.8</java.version>
46+
<java.version>17</java.version>
4747

48-
<springboot.version>2.7.0</springboot.version>
48+
<springboot.version>3.0.0</springboot.version>
49+
<javax-validation.version>2.0.1.Final</javax-validation.version>
4950
<testcontainers-rabbitmq.version>1.17.1</testcontainers-rabbitmq.version>
5051
<java-jna.version>5.8.0</java-jna.version>
5152

52-
<maven-release-plugin.version>2.5.3</maven-release-plugin.version>
53-
<maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version>
54-
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
55-
<maven-source-plugin.version>3.2.1</maven-source-plugin.version>
56-
<maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version>
57-
<maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version>
53+
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
54+
<maven-surefire-plugin.version>3.5.1</maven-surefire-plugin.version>
55+
<maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
56+
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
57+
<maven-javadoc-plugin.version>3.10.1</maven-javadoc-plugin.version>
58+
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
5859
<maven-checkstyle-plugin.version>3.1.0</maven-checkstyle-plugin.version>
5960
</properties>
6061

spring-multirabbit-examples/spring-multirabbit-example-java/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>2.7.0</version>
9+
<version>3.0.0</version>
1010
<relativePath />
1111
</parent>
1212

@@ -54,12 +54,12 @@
5454
<plugin>
5555
<groupId>org.apache.maven.plugins</groupId>
5656
<artifactId>maven-surefire-plugin</artifactId>
57-
<version>2.22.2</version>
57+
<version>3.5.1</version>
5858
</plugin>
5959
<plugin>
6060
<groupId>org.apache.maven.plugins</groupId>
6161
<artifactId>maven-compiler-plugin</artifactId>
62-
<version>3.8.1</version>
62+
<version>3.13.0</version>
6363
</plugin>
6464
<plugin>
6565
<groupId>org.apache.maven.plugins</groupId>

spring-multirabbit-examples/spring-multirabbit-example-kotlin/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>2.7.0</version>
9+
<version>3.0.0</version>
1010
<relativePath />
1111
</parent>
1212

@@ -74,12 +74,12 @@
7474
<plugin>
7575
<groupId>org.apache.maven.plugins</groupId>
7676
<artifactId>maven-surefire-plugin</artifactId>
77-
<version>2.22.2</version>
77+
<version>3.5.1</version>
7878
</plugin>
7979
<plugin>
8080
<groupId>org.apache.maven.plugins</groupId>
8181
<artifactId>maven-compiler-plugin</artifactId>
82-
<version>3.8.1</version>
82+
<version>3.13.0</version>
8383
</plugin>
8484
<plugin>
8585
<artifactId>kotlin-maven-plugin</artifactId>

spring-multirabbit-examples/spring-multirabbit-extension-example/pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>org.springframework.boot</groupId>
88
<artifactId>spring-boot-starter-parent</artifactId>
9-
<version>2.7.0</version>
9+
<version>3.0.0</version>
1010
<relativePath />
1111
</parent>
1212

@@ -19,8 +19,8 @@
1919
<description>Example module to showcase extension of spring-multirabbit</description>
2020

2121
<properties>
22-
<maven.compiler.source>1.8</maven.compiler.source>
23-
<maven.compiler.target>1.8</maven.compiler.target>
22+
<maven.compiler.source>17</maven.compiler.source>
23+
<maven.compiler.target>17</maven.compiler.target>
2424
</properties>
2525

2626
<dependencies>
@@ -59,12 +59,12 @@
5959
<plugin>
6060
<groupId>org.apache.maven.plugins</groupId>
6161
<artifactId>maven-surefire-plugin</artifactId>
62-
<version>2.22.2</version>
62+
<version>3.5.1</version>
6363
</plugin>
6464
<plugin>
6565
<groupId>org.apache.maven.plugins</groupId>
6666
<artifactId>maven-compiler-plugin</artifactId>
67-
<version>3.8.1</version>
67+
<version>3.13.0</version>
6868
</plugin>
6969
<plugin>
7070
<groupId>org.apache.maven.plugins</groupId>

spring-multirabbit/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<dependency>
3535
<groupId>javax.validation</groupId>
3636
<artifactId>validation-api</artifactId>
37+
<version>${javax-validation.version}</version>
3738
</dependency>
3839
<dependency>
3940
<groupId>org.springframework.boot</groupId>

spring-multirabbit/src/main/resources/META-INF/spring.factories renamed to spring-multirabbit/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
21
org.springframework.boot.autoconfigure.amqp.MultiRabbitAutoConfiguration

0 commit comments

Comments
 (0)