gnodet opened a new pull request, #12800: URL: https://github.com/apache/maven/pull/12800
## Backport of #12748 Cherry-pick of #12748 onto `maven-4.0.x`. **Original PR:** #12748 - Fix BuildPlanExecutor thread pool leak on constructor failure **Original author:** @ulofiai **Target branch:** `maven-4.0.x` ### Original description Fixes #12599. Build the initial plan before creating the `PhasingExecutor`. If plan construction throws, `BuildContext` now fails before allocating the executor, so cleanup cannot be skipped. The change is limited to the initialization order in `BuildPlanExecutor`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
