Skip to content

Remove the legacy project interpolation and RuntimeInformation from maven-compat - #14230

Open
slachiewicz wants to merge 2 commits into
apache:masterfrom
slachiewicz:remove-maven2-compat-its
Open

slachiewicz wants to merge 2 commits into
apache:masterfrom
slachiewicz:remove-maven2-compat-its

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Removes two Maven 2 leftovers from maven-compat, both deprecated since Maven 3 and with no main-code user in the apache, codehaus-plexus or mojohaus organizations: the org.apache.maven.project.interpolation package and execution.RuntimeInformation with DefaultRuntimeInformation. Builds on #14229; until that merges, review only the second commit.

  • MNG-5445, which tested the legacy StringSearchModelInterpolator, is removed with it.
  • MNG-3652 (user agent header) stays; its test plugin now reads the Maven version through org.apache.maven.rtinfo.RuntimeInformation.

MavenProjectBuilder and artifact.manager.WagonManager, with the types they depend on, stay: maven-bundle-plugin, camel-maven-plugin, karaf-maven-plugin and Apache NetBeans still use them, so their ITs stay too.

Part of #14157.

Deletes 15 types deprecated since Maven 3 that no code in this repository or in the apache, codehaus-plexus and mojohaus organizations references, together with the DefaultProfileManager unit test. Part of apache#14157.
@slachiewicz slachiewicz added the removed Pull requests that remove features label Dec 3, 2026
@slachiewicz
slachiewicz marked this pull request as ready for review December 3, 2026 14:10
…aven-compat

Deletes the org.apache.maven.project.interpolation package and
execution.RuntimeInformation, both deprecated since Maven 3, with the MNG-5445
IT that tested the legacy interpolator. MNG-3652 now reads the Maven version
through org.apache.maven.rtinfo.RuntimeInformation.

Part of apache#14157.
@slachiewicz
slachiewicz force-pushed the remove-maven2-compat-its branch from e4dcb48 to db21d59 Compare December 3, 2026 14:13
@slachiewicz slachiewicz changed the title Remove the Maven 2 plugin API from maven-compat and its compatibility ITs Remove the legacy project interpolation and RuntimeInformation from maven-compat Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

removed Pull requests that remove features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants