Skip to content

Move report executor tests off deprecated repository APIs - #192

Merged
slachiewicz merged 1 commit into
apache:masterfrom
slachiewicz:agent/issue-191-deprecated-apis
Nov 29, 2026
Merged

slachiewicz merged 1 commit into
apache:masterfrom
slachiewicz:agent/issue-191-deprecated-apis

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

Fixes #191.

The tests set a local repository path on the execution request and let the request populator create the repository, instead of building an ArtifactRepository with its layout and policies. The unused getRemoteArtifactRepositories() stub goes away; plugin resolution already uses the Resolver-backed plugin repositories.

Verified: mvn -B verify → success

Part of apache/maven#14157

Build the local repository from the path on the execution request and let the request populator create it, instead of constructing ArtifactRepository, its layout and policies. Drop the unused remote ArtifactRepository override; plugin repository resolution already goes through Resolver.

Part of apache/maven#14157
@slachiewicz
slachiewicz marked this pull request as ready for review November 29, 2026 15:33
@slachiewicz
slachiewicz merged commit d5b62ed into apache:master Nov 29, 2026
14 checks passed
@github-actions github-actions Bot added this to the 2.1.0 milestone Nov 29, 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.

Move off the Maven API deprecated since Maven 3

1 participant