(Non-binding chatter) I'm ok with Java 17 but since M4 feels like it's not around the corner, why not go for Java 21-EA and possibly learn even more cool tech. Surely Java 21 which is an LTS version will be released as GA before M4.
Gary On Wed, May 31, 2023, 04:30 Guillaume Nodet <gno...@apache.org> wrote: > I'd like to resume this discussion about switching master to require JDK > 17. > > These past days, I've been working on improving the usage of toolchains > (first inside maven, but now completely in the maven-toolchains-plugin) > with [1]. If we want to go further, we could simplify the selection by > modifying the POM somehow to add a specific section, but I suspect most > people will just use the release flag on the compiler to target bytecode. > The only downside I see, beyond the additional configuration (though the > goal is that users don't really have to generate/maintain the toolchains) > is that the selection of the toolchain is done during the build, so that > JDK profile based activation can not be used. Note that the use of > environment variables is also another way to work around, for example in > github [2]. > > I think with those improvements, requiring JDK 17 for master should be > doable. Any concerns of suggestions ? > > Cheers, > Guillaume > > [1] https://github.com/apache/maven-toolchains-plugin/pull/14 > [2] > > https://github.com/B3Partners/kadaster-gds2/blob/b0cd5c392bc1f48dec11c83c828254a868264467/.github/ubuntu-toolchains.xml > > Le mar. 19 juil. 2022 à 18:25, Karl Heinz Marbaise <khmarba...@gmx.de> a > écrit : > > > Hi to all, > > > > what do you think about using JDK17 as minimum requirement for running > > the future Apache Maven 4.0.0 ? > > > > Kind regards > > Karl Heinz Marbaise > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > > For additional commands, e-mail: dev-h...@maven.apache.org > > > > > > -- > ------------------------ > Guillaume Nodet >