I'd suggest eventually switching to a different branching model as the
current approach can lead to regressions (missed backported fix commits).

The idea is simple: maven-4.0.x now only includes fixes, no new features.
It's merged from time to time to maven-4.1.x, and maven-4.1.x is merged to
master (4.2.x). maven-3.10.x is merged to maven-4.0.x while it's evolving.
I've seen such schema in the spring-framework and spring-boot projects. If
you check the commit history of the main branch, you'll see these often
merges https://github.com/spring-projects/spring-boot/commits/main/
(cannot attach the image as I'm afraid mail server will reject it).


On Tue, Dec 1, 2026 at 7:28 AM Hervé Boutemy via dev <[email protected]>
wrote:

> ok, thanks for the useful clarification: M4 vs 4.0 vs 4.2 (aka. master)
> and the
> implications of targetting one or the other is not always easy to grasp
>
> particularly when in addition we have the question on "Maven core"
> internals
> vs plugins (maintained by Maven vs community) vs Maven components vs libs
> = what wider Maven ecosystem and actors is about (and I don't always get
> who
> is who sometimes in which discussion context: nothing personal, no
> judgment on
> my side)
>
> food for thought:
> working on logging API change for 4.2 without backporting to 4.0 is
> perfect,
> I fully agree on keeping 4.0 stable up to GA status, soon: no unexpected
> surprise
>
> I'm really happy about our "Maven 3 plugins" strategy for Maven 4.0 to
> postpone all the complex compatibility / support questions wider community
> will have when they'll start using the new Maven 4 API.
> This will mostly start with Maven 4.2, but the few Java Module support
> plugins
> for 4.0 opens a little bit the movement and discovery of the problem
> space,
> and I'm always a little bit worried the change starts at wider scale too
> early.
>
> Thanks for the great work
>
> Hervé
>
> Le lundi 30 novembre 2026 13:18:04 heure normale d’Europe centrale, vous
> avez
> écrit :
> > Le dim. 29 nov. 2026 à 11:57, Hervé Boutemy via dev
> >
> > <[email protected]> a écrit :
> > > it seems a lot of work is happening for 4.2 before 4.0 is shipped...
> > > or is it expected to be back-ported to 4.0?
> > >
> > > [...] cut
> > >
> > > Regards,
> > >
> > > Hervé
> >
> > I'm working hard on finalizing 4.0.0 GA.  I don't think this implies
> > that new development should be stopped on the master branch.  Bug
> > fixes are backported to 4.0.x, but this would not really be wise to
> > backport new features in the branch being stabilized.
> >
> > There are a few issues I want to fix before cutting GA:
> > * https://github.com/apache/maven-resolver/pull/2368 or
> > https://github.com/apache/maven/pull/14172
> > * https://github.com/apache/maven/pull/14186 (Serguey performance issue)
> > * whatever pending PRs containing bug fixes applicable to 4.0.x
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to