You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/10/12 21:21:05 UTC
(maven) 01/02: Test JDK 27 instead of 26
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch maven-3.10.x
in repository https://gitbox.apache.org/repos/asf/maven.git
commit ca1c03a22182c7fd5af9a5d40347cbe749f23952
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Oct 12 12:23:14 2026 +0000
Test JDK 27 instead of 26
JDK 26 is out of support now that 27 is released. Spotless is skipped on
the JDK 27 jobs only: palantir-java-format crashes there until
palantir/palantir-java-format#1786 is released.
---
.github/workflows/maven.yml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 5991c87a1f..44ab32033c 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -73,7 +73,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
- java: [8, 25, 26]
+ java: [8, 25, 27]
fail-fast: false
runs-on: ${{ matrix.os }}
@@ -151,7 +151,8 @@ jobs:
- name: Running integration tests
shell: bash
- run: ./mvnw install -e -B -V -Prun-its,embedded -Dmaven.repo.local="$HOME/.m2/repository" -DmavenDistro="$GITHUB_WORKSPACE/built-maven/apache-maven-bin.zip" -f maven-integration-testing/pom.xml
+ # palantir-java-format crashes on JDK 27 (palantir/palantir-java-format#1786); drop the skip once a fixed release is in maven-parent
+ run: ./mvnw install -e -B -V -Prun-its,embedded -Dmaven.repo.local="$HOME/.m2/repository" -DmavenDistro="$GITHUB_WORKSPACE/built-maven/apache-maven-bin.zip" -f maven-integration-testing/pom.xml ${{ matrix.java == 27 && '-Dspotless.skip=true' || '' }}
- name: Save ~/.m2/repository
# pull requests restore the cache without saving their own copy