You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Part of #13460 — Migrate Maven internals from v3 to v4 API
Context
The lifecycle execution pipeline is the largest v3 hotspot (~44 files) and the heart of Maven's build execution. Every class in the chain operates on v3 MavenSession, MavenProject, and MojoExecution.
Goal
Migrate the lifecycle engine to work with v4 types internally. This is the biggest phase and will likely need to be broken into sub-phases.
Cross-referencing #13499 — the lifecycle engine migration should explicitly scope the public SPI contract for lifecycle participation (replacement for AbstractMavenLifecycleParticipant and ProjectExecutionListener).
Tycho's analysis shows the v4 Listener/Event mechanism is too generic for build extensions that need structured callbacks with mutable project access at specific lifecycle points (afterProjectsRead, per-project before/after execution with execution plan inspection).
Activity
gnodet commentedon Oct 14, 2026
Cross-referencing #13499 — the lifecycle engine migration should explicitly scope the public SPI contract for lifecycle participation (replacement for
AbstractMavenLifecycleParticipantandProjectExecutionListener).Tycho's analysis shows the v4
Listener/Eventmechanism is too generic for build extensions that need structured callbacks with mutable project access at specific lifecycle points (afterProjectsRead, per-project before/after execution with execution plan inspection).Claude Code on behalf of Guillaume Nodet