Hi Christian, I found this discussion interesting, particularly the points raised about compatibility and the risks of removing components that may still be used by existing projects.
While exploring the Maven 4 codebase, I looked a little into the existing MultiThreadedBuilder and the newer concurrent builder. I noticed that the regular -T option still selects MultiThreadedBuilder, whereas the concurrent builder follows a separate lifecycle execution path based on a build plan. I also noticed that some existing integration tests still exercise the legacy builder's behaviour, including non-thread-safe mojo execution, fail-fast handling and resuming parallel builds. The two approaches also differ in areas such as aggregator execution and project locking. Interestingly, MultiThreadedBuilder has also received scheduling improvements in recent development. I may be missing some of the broader design considerations, but this made me wonder whether, in cases like this, it would be useful to establish behavioural parity and a migration path before considering removal. Best regards, Abdul On Sat, 28 Nov 2026 at 00:49, Elliotte Rusty Harold <[email protected]> wrote: > Most efforts to remove deprecated APIs are far too aggressive, > especially absent a significant financial relationship with customers > who are big enough to get VPs attention when they yell about > developers breaking their build. (Once you've been on a project where > paying customers yelled at your VP you may develop a different opinion > about whether and when it's wise to remove deprecated features.) > > Details are case by case. There are some random pieces from Maven 2 > hanging around here and there that can likely be removed, but 3.x is > not dead. It is the only currently released and shipping version of > Maven and what probably everyone who's not actively developing Maven > is using. > > On Fri, Nov 27, 2026 at 1:33 PM Christian Grobmeier via dev > <[email protected]> wrote: > > > > Hi everyone > > > > While reviewing the source code, I found some deprecated items. > > I wonder if we can remove them from Maven 4 (currently I work on 4.2) > > > > One candidate would be the multithreaded builder, which was replaced by > the concurrent builder. > > > > Maven 3 was released in 2010. If we waited for Maven 5 to remove these > components and keep the current release cycle, it might be 2036 :-) > > > > What are your thoughts on this? > > > > Cheers > > Christian > > > > -- > > The Apache Software Foundation > > V.P., Data Privacy > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > > -- > Elliotte Rusty Harold > [email protected] > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
