Hi,
+1 from me.
Kind regards
Karl Heinz Marbaise
On 30.04.25 15:12, Matthias Bünger wrote:
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