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:04 UTC

(maven) branch maven-3.10.x updated (cf3229ae5e -> b75dfabc95)

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a change to branch maven-3.10.x
in repository https://gitbox.apache.org/repos/asf/maven.git


    from cf3229ae5e build: bump actions/download-artifact from 8.0.1 to 8.0.2 (#13427)
     new ca1c03a221 Test JDK 27 instead of 26
     new b75dfabc95 Skip Spotless on JDK 27 through a POM profile

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/maven.yml |  2 +-
 pom.xml                     | 14 ++++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)


(maven) 01/02: Test JDK 27 instead of 26

Posted by sl...@apache.org.
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


(maven) 02/02: Skip Spotless on JDK 27 through a POM profile

Posted by sl...@apache.org.
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 b75dfabc9540871d1d7a3b7eb3faba1fa92c8b49
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Mon Oct 12 21:18:48 2026 +0000

    Skip Spotless on JDK 27 through a POM profile
    
    The IT build gets the same profile from apache/maven-integration-testing.
---
 .github/workflows/maven.yml |  3 +--
 pom.xml                     | 14 ++++++++++++++
 2 files changed, 15 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 44ab32033c..cf6b24ba3a 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -151,8 +151,7 @@ jobs:
 
       - name: Running integration tests
         shell: bash
-        # 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' || '' }}
+        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
 
       - name: Save ~/.m2/repository
         # pull requests restore the cache without saving their own copy
diff --git a/pom.xml b/pom.xml
index c5e2489730..fa1b0d205c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -746,6 +746,20 @@ under the License.
   </build>
 
   <profiles>
+    <profile>
+      <!-- palantir-java-format crashes on JDK 27 (palantir/palantir-java-format#1786);
+           drop this profile once maven-parent ships a fixed release -->
+      <id>jdk27-skip-spotless</id>
+      <activation>
+        <property>
+          <name>java.specification.version</name>
+          <value>27</value>
+        </property>
+      </activation>
+      <properties>
+        <spotless.skip>true</spotless.skip>
+      </properties>
+    </profile>
     <profile>
       <id>apache-release</id>
       <build>