-1

I saw no benefit cited to going to 21, only implicit new constraints to users
I just saw the logic we used to skip 11 and go to 17 reused because we did not 
ship 4.0 yet

I prefer shipping 4.0 with constraints people expected for 4.0 during the 
release candidates: we'll see on next releases

Regards,

Hervé

----- Mail original -----
De: "Matthias Bünger" <mbuen...@apache.org>
À: "Maven Developers List" <dev@maven.apache.org>
Cc: "Maven Users List" <us...@maven.apache.org>
Envoyé: Mercredi 30 Avril 2025 15:12:43
Objet: [VOTE] Require Java 21 for Maven 4 (Rephrased Vote)

Hi everyone,
over the last years we had several discussions about lifting the 
required Java version to run Maven from 8 to something higher. You can 
find them in the mail archive.
In February 2024 we decided to lift it to 17 (see result: [1*]).

An argument to pick 17 instead of 21 was to take the (at the point of 
voting) second last JDK for which vendors offer LTS (Note: LTS is 
important for companies).
With Java 25 (next with LTS) coming in September and a final Maven 4.0.0 
on the horizon (no date yet), I think we should raise the minimum 
version once more and use Java 21, which will be the second last 
"LTS-JDK" in September. Doing this brings the benefit of avoid locking 
into an "already considered old" version (and of course the improvements 
of Java 18-21).

In a chat with several PMC, committers and contributors nobody saw 
strong disadvantages on this. Therefore, I want to start the official 
vote to set the minimal Java bytecode target of Maven-Core 4 to 21, 
meaning Java 21 is required for Maven 4.

This is a procedural majority vote [2*]. You can also vote with 
fractions and negative votes are not vetoes.
Please refrain from starting discussions in this thread, but do include 
a reasoning on downvotes and feel free to start a new discussion on the 
mailing list.

The vote is open for at least 72 hours.

Please also notice:
* Maven 3 will stay at Java 8.
* It's about the minimum Java version to run Maven 4, not to compile 
applications against. With Java 21 you can compile down to Java 8. For 
special JDK needs, also toolchain tools can be used.


Have a sunny day everyone

Matthias

[1*]: https://lists.apache.org/thread/bfkvvjftrxypp06yj8zj919fcz0dt2zt
[2*]: https://www.apache.org/foundation/voting.html


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to