Skip to content

Backport #13351: Depend on maven-core instead of maven-compat in 18 core IT plugins - #13354

Merged
slachiewicz merged 2 commits into
maven-4.0.xfrom
agent/its-drop-unused-maven-compat-4.0.x
Oct 5, 2026
Merged

slachiewicz merged 2 commits into
maven-4.0.xfrom
agent/its-drop-unused-maven-compat-4.0.x

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Backport of #13351. These 18 IT plugins use no maven-compat class and only need MavenProject, so each declares maven-core (provided) instead, and the fork plugin drops the exclusions that only applied to maven-compat's dependencies.

Verified: mvn -Prun-its -pl <the 18 modules> -am clean verify -DskipTests on maven-4.0.x → all compile.


To make clear that you license your contribution under
the Apache License Version 2.0, January 2004
check one of the following:

Part of #8177. These modules use no maven-compat class; they reached
MavenProject in maven-core only transitively through it.

(cherry picked from commit 21de18b)
@slachiewicz
slachiewicz marked this pull request as ready for review October 5, 2026 20:22
@slachiewicz
slachiewicz merged commit d4c6817 into maven-4.0.x Oct 5, 2026
23 checks passed
@slachiewicz
slachiewicz deleted the agent/its-drop-unused-maven-compat-4.0.x branch October 5, 2026 22:13
@github-actions github-actions Bot added this to the 4.0.0 milestone Oct 5, 2026
@slachiewicz slachiewicz mentioned this pull request Oct 5, 2026
5 of 19 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant