Skip to content

Use Resolver's own HTTP transport in tests - #1361

Merged
slachiewicz merged 1 commit into
masterfrom
drop-wagon-test-transport
Aug 16, 2026
Merged

Use Resolver's own HTTP transport in tests#1361
slachiewicz merged 1 commit into
masterfrom
drop-wagon-test-transport

Conversation

@slachiewicz

Copy link
Copy Markdown
Member

The test repository session went through maven-resolver-transport-wagon plus a shaded wagon-http. That transport exists so build extensions can contribute a Wagon provider; the tests resolve over plain HTTPS, which maven-resolver-transport-http does on its own.

Same stack maven-project-info-reports-plugin already uses. wagonVersion had no other reader, so it goes too.

Verified: mvn clean test → 69 tests, 0 failures, and dependency:tree no longer mentions Wagon at any scope.

This change was created with AI assistance.

The test repository session was wired through maven-resolver-transport-wagon
and a shaded wagon-http, which is the transport Resolver keeps for build
extensions that contribute a Wagon. Tests need none of that: they resolve over
plain HTTPS, which maven-resolver-transport-http does directly.

This is the stack maven-project-info-reports-plugin already uses.
@slachiewicz slachiewicz added the dependencies Pull requests that update a dependency file label Aug 16, 2026
@slachiewicz
slachiewicz requested a review from michael-o August 16, 2026 12:45
@slachiewicz
slachiewicz marked this pull request as ready for review August 16, 2026 12:45
@slachiewicz
slachiewicz merged commit 92d17f3 into master Aug 16, 2026
105 of 106 checks passed
@slachiewicz
slachiewicz deleted the drop-wagon-test-transport branch August 16, 2026 14:53
@github-actions github-actions Bot added this to the 3.12.1 milestone Aug 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants