gnodet commented on PR #11215: URL: https://github.com/apache/maven/pull/11215#issuecomment-6921016703
The fix is already present on `maven-4.0.x` via commit `897a8b6b42` (PR #11226: "Add phase upgrade support for Maven 4.1.0 model upgrades"), which was a parallel implementation of this feature directly targeting `maven-4.0.x` using the domtrip XML API. The `maven-4.0.x` branch uses domtrip's `Editor`/`Element` API (not JDOM), so the implementation was adapted accordingly — but the logic is functionally equivalent: `upgradeDeprecatedPhases(Editor editor, UpgradeContext context)` with the same phase upgrade map, the same traversal of build/profiles/pluginManagement sections, and the same `PhaseUpgradeTests` unit test coverage. No backport PR is needed. <!-- maven-backport-bot --> -- 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]
