Skip to content

Commit 2cf91fa

Browse files
committed
Upgrade spotless dependency and maven workflow since spotless now
requires Java 17.
1 parent c2f1c12 commit 2cf91fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/maven.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
- uses: actions/checkout@v5
1212
with:
1313
fetch-depth: 0
14-
- name: Set up JDK 11
14+
- name: Set up JDK 17
1515
uses: actions/setup-java@v5
1616
with:
17-
java-version: '11'
18-
distribution: 'zulu'
17+
java-version: 17
18+
distribution: zulu
1919
- name: Run Spotless check
2020
run: mvn spotless:check
2121
- name: Create WAR

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1104,7 +1104,7 @@
11041104
<plugin>
11051105
<groupId>com.diffplug.spotless</groupId>
11061106
<artifactId>spotless-maven-plugin</artifactId>
1107-
<version>2.46.1</version>
1107+
<version>3.1.0</version>
11081108
<configuration>
11091109
<!-- optional: limit format enforcement to just the files changed by this feature branch -->
11101110
<ratchetFrom>origin/master</ratchetFrom>

0 commit comments

Comments
 (0)