Skip to content

Conversation

@gnodet
Copy link
Contributor

@gnodet gnodet commented Oct 27, 2025

Backport

This will backport the following commits from master to maven-4.0.x:

Questions ?

Please refer to the Backport tool documentation

* Initial plan

* Add missing deprecated constants to MavenCli for backward compatibility

Co-authored-by: laeubi <1331477+laeubi@users.noreply.github.com>

* Add missing extension model classes for backward compatibility

- Created org.apache.maven.cli.internal.extension.model package
- Added CoreExtension and CoreExtensions classes (deprecated)
- Updated ExtensionResolutionException to return old model type
- Added overloaded constructor for compatibility with new API

Co-authored-by: laeubi <1331477+laeubi@users.noreply.github.com>

* Add missing xpp3 reader/writer

* Do not add @deprecated on constants since the class already is

* Add two other missing constants

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: laeubi <1331477+laeubi@users.noreply.github.com>
(cherry picked from commit 9a5fb67)
@gnodet gnodet merged commit 59a6806 into apache:maven-4.0.x Oct 27, 2025
19 checks passed
@gnodet gnodet added bug Something isn't working backport mvn40 labels Oct 27, 2025
@github-actions github-actions bot added this to the 4.0.0 milestone Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Something isn't working mvn40

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants