Skip to content

Commit 1f2540e

Browse files
committed
build using java 17
1 parent 4185836 commit 1f2540e

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
- name: Set up JDK
2121
uses: actions/setup-java@v3
2222
with:
23-
java-version: '11'
23+
java-version: '17'
2424
distribution: 'adopt'
2525
cache: 'maven'
2626

2727
- name: Build
28-
run: mvn -P release -B verify
28+
run: mvn -P release -B -ntp verify

.github/workflows/upload-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
- name: Set up JDK
1515
uses: actions/setup-java@v2
1616
with:
17-
java-version: '11'
17+
java-version: '17'
1818
distribution: 'adopt'
1919
settings-path: ${{ github.workspace }}
2020

2121
- name: Build
22-
run: mvn -P release -B package
22+
run: mvn -P release -B -ntp package
2323

2424
- name: Determine artifact to upload
2525
id: TheZIP

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
</issueManagement>
5050

5151
<properties>
52+
<maven.compiler.target>17</maven.compiler.target>
5253
<tycho-version>2.7.4</tycho-version>
5354
<platform.version>1.0.1</platform.version>
5455
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

0 commit comments

Comments
 (0)