Skip to content

Commit 98f3549

Browse files
committed
Build with Java 25
Drop build support of Java 11/17 Update spotless to support Java 25
1 parent b7d4423 commit 98f3549

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
strategy:
3131
matrix:
3232
os: [ubuntu-latest, macos-latest, windows-latest]
33-
jdk: [11, 17, 21]
33+
jdk: [21, 25]
3434
include:
3535
# lengthy build steps should only be performed on linux with Java 17 (Sonarcloud analysis, deployment)
3636
- os: ubuntu-latest
37-
jdk: 17
37+
jdk: 21
3838
isMainBuildEnv: true
3939
namePrefix: 'Main '
4040
fail-fast: false
@@ -83,7 +83,7 @@ jobs:
8383
fi
8484
- name: Set up Maven
8585
# https://maven.apache.org/wrapper/#using-a-different-version-of-maven
86-
run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.2:wrapper "-Dmaven=3.9.9"
86+
run: mvn --errors --batch-mode --show-version org.apache.maven.plugins:maven-wrapper-plugin:3.3.4:wrapper "-Dmaven=3.9.11"
8787

8888
- name: ${{ matrix.namePrefix }} Build with Maven ${{ env.STEP_NAME_SUFFIX }}
8989
env:

pom.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@
203203
<plugin>
204204
<groupId>org.jacoco</groupId>
205205
<artifactId>jacoco-maven-plugin</artifactId>
206-
<version>0.8.12</version>
206+
<version>0.8.13</version>
207207
</plugin>
208208
<plugin>
209209
<artifactId>maven-invoker-plugin</artifactId>
210-
<version>3.7.0</version>
210+
<version>3.9.1</version>
211211
</plugin>
212212
</plugins>
213213
</pluginManagement>
@@ -224,8 +224,8 @@
224224
<configuration>
225225
<rules>
226226
<requireJavaVersion>
227-
<version>11</version>
228-
<!-- require at least Java 11 for building, but build for Java 8 -->
227+
<version>21</version>
228+
<!-- require at least Java 21 for building, but build for Java 8 -->
229229
</requireJavaVersion>
230230
<requireMavenVersion>
231231
<version>${maven.version}</version>
@@ -303,7 +303,7 @@
303303
<!-- orders of used formatters are important MPOM-376 -->
304304
<!-- eg. palantir override importOrder, so should be first -->
305305
<palantirJavaFormat>
306-
<version>2.58.0</version>
306+
<version>2.76.0</version>
307307
</palantirJavaFormat>
308308
<removeUnusedImports />
309309
<importOrder>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
invoker.debug = false
1+
invoker.debug = true
22
invoker.buildResult = failure
33
invoker.goals = clean verify -fae -e

0 commit comments

Comments
 (0)