Skip to content

Commit 58b0432

Browse files
author
wlanboy
committed
update to java 21 & spring boot 3.2.1 && spring-cloud 2023.0.0
1 parent 56e69e4 commit 58b0432

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/dockerpublish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- uses: actions/checkout@v2
11-
- name: Set up JDK 17
11+
- name: Set up JDK
1212
uses: actions/setup-java@v1
1313
with:
14-
java-version: 17
14+
java-version: 21
1515
- name: Build with Maven
1616
run: mvn -B package --file pom.xml -DskipTests=true
1717
- name: Publish to Registry

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19-
- name: Set up JDK 17
19+
- name: Set up JDK
2020
uses: actions/setup-java@v1
2121
with:
22-
java-version: 17
22+
java-version: 21
2323
- name: Build with Maven
2424
run: mvn -B package -DskipTests --file pom.xml

pom.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@
1515
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-parent -->
1616
<groupId>org.springframework.boot</groupId>
1717
<artifactId>spring-boot-starter-parent</artifactId>
18-
<version>3.0.6</version>
18+
<version>3.2.1</version>
1919
<relativePath/> <!-- lookup parent from repository -->
2020
</parent>
2121

2222
<properties>
2323
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2424
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
25-
<java.version>17</java.version>
25+
<java.version>21</java.version>
2626
<!-- https://mvnrepository.com/artifact/org.webjars/webjars-locator -->
27-
<webjars-locator.version>0.46</webjars-locator.version>
27+
<webjars-locator.version>0.50</webjars-locator.version>
2828
<!-- https://mvnrepository.com/artifact/org.webjars/bootstrap -->
29-
<bootstrap.version>4.6.2</bootstrap.version>
29+
<bootstrap.version>5.3.2</bootstrap.version>
3030
</properties>
3131

3232
<dependencies>
@@ -95,8 +95,6 @@
9595
<additionalProperties>
9696
<encoding.source>UTF-8</encoding.source>
9797
<encoding.reporting>UTF-8</encoding.reporting>
98-
<java.source>${maven.compiler.source}</java.source>
99-
<java.target>${maven.compiler.target}</java.target>
10098
</additionalProperties>
10199
</configuration>
102100
</execution>

0 commit comments

Comments
 (0)