Skip to content

Commit b30d368

Browse files
authored
⬆️ update libraries for Java 21 (#160)
1 parent 6deccbe commit b30d368

File tree

7 files changed

+28
-14
lines changed

7 files changed

+28
-14
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,27 @@ jobs:
1717
- "temurin"
1818

1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
with:
2222
submodules: recursive
2323

24+
# We need the GPG key to sign the package.
25+
- id: install-secret-key
26+
name: Install GPG secret key
27+
run: |
28+
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
29+
gpg --list-secret-keys --keyid-format LONG
30+
2431
- name: Set up JDK ${{ matrix.java-version }}
25-
uses: actions/setup-java@v3
32+
uses: actions/setup-java@v4
2633
with:
2734
java-version: ${{ matrix.java-version }}
2835
distribution: ${{ matrix.distribution }}
2936
cache: "maven"
3037

38+
# We build in "release" mode to test the documentation.
3139
- name: Verify with Maven
32-
run: mvn --update-snapshots --no-transfer-progress verify
40+
run: |
41+
mvn --update-snapshots --no-transfer-progress \
42+
-Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} \
43+
verify -P release

.github/workflows/checkstyle.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Checks
1+
name: Check Style
22

33
on:
44
- push
@@ -8,14 +8,14 @@ jobs:
88
name: Check Code Style
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
with:
1313
submodules: recursive
1414

15-
- name: Set up JDK 11
16-
uses: actions/setup-java@v3
15+
- name: Set up JDK
16+
uses: actions/setup-java@v4
1717
with:
18-
java-version: 11
18+
java-version: "11"
1919
distribution: "temurin"
2020
cache: "maven"
2121

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
name: Publish Documentation
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
with:
1717
submodules: recursive
1818

19-
- name: Set up JDK 11
20-
uses: actions/setup-java@v3
19+
- name: Set up JDK
20+
uses: actions/setup-java@v4
2121
with:
2222
java-version: "11"
2323
distribution: "temurin"

.github/workflows/maven-publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
- uses: actions/checkout@v4
1515
with:
1616
submodules: recursive
17+
18+
# We need the GPG key to sign the package.
1719
- id: install-secret-key
1820
name: Install GPG secret key
1921
run: |

.github/workflows/test-code-samples.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
max-parallel: 2
1616
matrix:
1717
java-version:
18+
- "21"
1819
- "17"
1920
- "11"
2021
- "8"

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
<plugin>
9191
<artifactId>maven-compiler-plugin</artifactId>
9292
<groupId>org.apache.maven.plugins</groupId>
93-
<version>3.10.1</version>
93+
<version>3.12.1</version>
9494
<configuration>
9595
<annotationProcessorPaths>
9696
<path>
@@ -341,7 +341,7 @@
341341
<org.mapstruct.version>1.5.3.Final</org.mapstruct.version>
342342
<org.projectlombok.lombok-mapstruct-binding.version>0.2.0
343343
</org.projectlombok.lombok-mapstruct-binding.version>
344-
<org.projectlombok.version>1.18.26</org.projectlombok.version>
344+
<org.projectlombok.version>1.18.30</org.projectlombok.version>
345345
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
346346
<wiremock.version>2.27.2</wiremock.version>
347347
</properties>

0 commit comments

Comments
 (0)