You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/10/12 12:23:28 UTC

[PR] Test JDK 27 instead of 26 [maven]

slachiewicz opened a new pull request, #13438:
URL: https://github.com/apache/maven/pull/13438

   JDK 26 is out of support now that 27 is released, so the JDK 26 jobs test 27 instead. Spotless is skipped on the JDK 27 jobs only: palantir-java-format crashes there (`NoSuchFieldError` for `JCCompilationUnit.endPositions`, palantir/palantir-java-format#1786, not yet released); the other JDKs keep checking formatting. Drop the skip once maven-parent ships a fixed palantir-java-format.
   
   Verified locally on Temurin 27+35 (aarch64) with Maven 4.0.0-rc-7 and `-Dspotless.skip`: `mvn install -DskipTests` and `mvn test` pass, 3281 unit tests, 0 failures. Core ITs not run locally.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Test JDK 27 instead of 26 [maven]

Posted by "slawekjaranowski (via GitHub)" <gi...@apache.org>.
slawekjaranowski commented on code in PR #13438:
URL: https://github.com/apache/maven/pull/13438#discussion_r4248103946


##########
.github/workflows/maven.yml:
##########
@@ -219,7 +219,8 @@ jobs:
 
       - name: Build with downloaded Maven
         shell: bash
-        run: mvn verify -Papache-release -Dgpg.skip=true -e -B -V
+        # palantir-java-format crashes on JDK 27 (palantir/palantir-java-format#1786); drop the skip once a fixed release is in maven-parent
+        run: mvn verify -Papache-release -Dgpg.skip=true -e -B -V ${{ matrix.java == '27' && '-Dspotless.skip=true' || '' }}

Review Comment:
   I would like to see such switch in project pom, eg in profile
   We can use also JDK 27 at local machine



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Test JDK 27 instead of 26 [maven]

Posted by "slachiewicz (via GitHub)" <gi...@apache.org>.
slachiewicz merged PR #13438:
URL: https://github.com/apache/maven/pull/13438


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Test JDK 27 instead of 26 [maven]

Posted by "slawekjaranowski (via GitHub)" <gi...@apache.org>.
slawekjaranowski commented on PR #13438:
URL: https://github.com/apache/maven/pull/13438#issuecomment-6124499231

   build not finished ... so why merged ...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org