Skip to content

Commit 21d1d0d

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

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 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

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>

0 commit comments

Comments
 (0)