You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Matthias Bünger <mb...@apache.org> on 2025/04/30 12:43:49 UTC

[VOTE] Require Java 21 for Maven 4

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.

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-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [VOTE] Require Java 21 for Maven 4

Posted by Elliotte Rusty Harold <el...@ibiblio.org>.
-1

On Wed, Apr 30, 2025 at 12:45 PM Matthias Bünger <mb...@apache.org> 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.
>
> 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-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>


-- 
Elliotte Rusty Harold
elharo@ibiblio.org

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


Re: [VOTE] Require Java 21 for Maven 4

Posted by Rodrigo Bourbon <rb...@salesforce.com.INVALID>.
+1

On Wed, Apr 30, 2025 at 9:45 AM Matthias Bünger <mb...@apache.org> 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.
>
> 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://urldefense.com/v3/__https://lists.apache.org/thread/bfkvvjftrxypp06yj8zj919fcz0dt2zt__;!!DCbAVzZNrAf4!A861AYJUf2WNgmvgo53a-nq4kzkA_vZWVzW0v0NS5N4S6lUfG5QQ0rL4kLd4EDBPORGUWD5_-IUz-ORQ4Bg9$
> [2*]:
> https://urldefense.com/v3/__https://www.apache.org/foundation/voting.html__;!!DCbAVzZNrAf4!A861AYJUf2WNgmvgo53a-nq4kzkA_vZWVzW0v0NS5N4S6lUfG5QQ0rL4kLd4EDBPORGUWD5_-IUz-FcIAJZL$
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: [VOTE] Require Java 21 for Maven 4

Posted by Tamás Cservenák <ta...@cservenak.net>.
Howdy,

Matthias, you explained why to switch (why to vote +1).

But could you reformulate your VOTE thread and ask those voting -1 to
EXPLAIN why they voted in such a manner?

Thanks
T

On Wed, Apr 30, 2025 at 2:44 PM Matthias Bünger <mb...@apache.org> 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.
>
> 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-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

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


[CANCELED] [VOTE] Require Java 21 for Maven 4

Posted by Matthias Bünger <mb...@apache.org>.
Vote canceled to restart with rephrased vote thread (asked by Tamás)

Matthias

Am 30.04.2025 um 14:43 schrieb Matthias Bünger:
> 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.
>
> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


[CANCELED] [VOTE] Require Java 21 for Maven 4

Posted by Matthias Bünger <mb...@apache.org>.
Vote canceled to restart with rephrased vote thread (asked by Tamás)

Matthias

Am 30.04.2025 um 14:43 schrieb Matthias Bünger:
> 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.
>
> 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-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: [VOTE] Require Java 21 for Maven 4

Posted by Sylwester Lachiewicz <sl...@gmail.com>.
+1 good move

śr., 30 kwi 2025, 14:44 użytkownik Matthias Bünger <mb...@apache.org>
napisał:

> 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.
>
> 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-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>

Re: [VOTE] Require Java 21 for Maven 4

Posted by Tamás Cservenák <ta...@cservenak.net>.
Howdy,

Matthias, you explained why to switch (why to vote +1).

But could you reformulate your VOTE thread and ask those voting -1 to
EXPLAIN why they voted in such a manner?

Thanks
T

On Wed, Apr 30, 2025 at 2:44 PM Matthias Bünger <mb...@apache.org> 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.
>
> 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-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org