Hi Christian,

A few numbers from the current branches:

- maven-3.9.x has 227 @Deprecated elements in main code: 76 types and 151
members (32 of them in MavenProject, 16 in MavenSession).
- Of those 76 types, 73 are still on master and still deprecated: 66 moved
under compat/ (53 in maven-compat), 7 remain in impl/maven-core. Only 3 are
gone.
- master has 492 files with @Deprecated, against 76 on 3.9.x.

One note on the example: MultiThreadedBuilder is not marked deprecated on
any branch, and on master -T still selects it (MavenInvoker sets the
builder id to "multithreaded"). Removing it means switching -T to the
concurrent builder first.

So most of the Maven 3 deprecations were moved to compat/ rather than
removed, and what can go depends on whether Maven 3 plugins still call it.

Sylwester

On Fri, Nov 27, 2026 08:32 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]
>
>

Reply via email to