On Wed, 20 Jul 2022 at 02:49, Karl Heinz Marbaise <[email protected]> wrote:

> Hi,
>
> I really mean runtime ...
>
> Kind regards
> Karl Heinz Marbaise
>
> On 19.07.22 18:28, Tamás Cservenák wrote:
> > Howdy,
> >
> > Running or building?
> >
> > As for building, I am all for it.
> > For running (so the bytecode level of built Maven artifacts) may be "too
> > soon" IMHO, I am unsure about this.
>
> Spring Framework 3.0.0 (will do so) as well as Spring Boot etc. very
> large frameworks...
>
> >
> > Hence, I'd go with enforcer to require JDK17, but use compiler
> > release=11 for now.
>
> I would suggest to go that path anyway to use JDK17 and produce via
> --release 8 (from current perspective)...
>

I'm not sure I understand what you want to do?
do you mean enforcer to enforce maven core is built using jdk 17 but
compiler using the flag --release 8?



>
> >
> > Note: key component, like sisu inject does NOT support (yet) Java17
> > bytecode.
>
> Hm.. that might be blocker...
>

jdk 11 already has a lot of interesting features. I'm not quite sure what
is the killer feature in jdk 17 we really need in Maven?
jdk 11 sounds like a nice upgrade if we want to have a large adoption of
Maven 4.0 by the community.
And btw nothing prevents people using jdk 17 if they want.
But forcing users to jdk 17 and using the complicated toolchains is a
different story.
I feel like jdk 17 will reduce the adoption/upgrade and we will be there a
long time maintaining the 3.x branch and we won't be able to migrate our
plugins to the new 4.0 apis (and having 2 branches of plugins to maintain?)

Comparing to Spring is not really accurate because there is a company
behind it, so they have employees to maintains branches for their customers
(because "you still want maintenance of spring xx with jdk 11 so hey too
easy pay the support" :) )






>
> Kind regards
> Karl Heinz Marbaise
>
> >
> > T
> >
> > On Tue, Jul 19, 2022 at 6:25 PM Karl Heinz Marbaise <[email protected]
> > <mailto:[email protected]>> wrote:
> >
> >     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: [email protected]
> >     <mailto:[email protected]>
> >     For additional commands, e-mail: [email protected]
> >     <mailto:[email protected]>
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to