Skip to content

Drop the test-scoped maven-compat dependency - #1498

Merged
slachiewicz merged 1 commit into
masterfrom
agent/drop-maven-compat-test-dep
Sep 19, 2026
Merged

slachiewicz merged 1 commit into
masterfrom
agent/drop-maven-compat-test-dep

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Removes maven-compat from the root dependency management, maven-release-manager and maven-release-plugin. Two things depended on it: booting the plugin-testing container on maven-core older than 3.9.12 (the baseline is 3.9.16), and DefaultArtifactRepository in AbstractReleaseTestCase, which is a compat class; MavenArtifactRepository from maven-core replaces it. DefaultArtifactRepository defaulted the repository policies while MavenArtifactRepository takes them explicitly, so the test passes two default ArtifactRepositoryPolicy instances; with null the project builder rejects the repository. Same removal as apache/maven-remote-resources-plugin#292. Part of apache/maven#8177.

Verified: mvn verify → 876 tests, 0 failures, 18 skipped, across the reactor.

It was needed to boot the plugin-testing container on maven-core older
than 3.9.12 and for DefaultArtifactRepository in AbstractReleaseTestCase;
the baseline is 3.9.16 and MavenArtifactRepository from maven-core does
the same with explicit default policies.
@slachiewicz
slachiewicz marked this pull request as ready for review September 19, 2026 16:23
@slachiewicz
slachiewicz merged commit 169c6ff into master Sep 19, 2026
21 checks passed
@slachiewicz
slachiewicz deleted the agent/drop-maven-compat-test-dep branch September 19, 2026 16:23
@github-actions github-actions Bot added this to the 3.3.2 milestone Sep 19, 2026
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