GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Use the resolver's own HTTP transport in the report plugin tests by slachiewicz · Pull Request #3414 · apache/maven-surefire

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Aug 8, 2026

Copy link
Copy Markdown
Member

maven-surefire-report-plugin's test classpath carried two artifacts to give Resolver a way of speaking HTTP:

<artifactId>maven-resolver-transport-wagon</artifactId>
<artifactId>wagon-http-lightweight</artifactId>

Resolver has had its own HTTP transport since 1.0, so maven-resolver-transport-http at the same ${resolverVersion} (1.9.27 here) does the same job on its own. maven-resolver-connector-basic is untouched — that is the connector, not the transport.

wagon-http-lightweight is additionally marked for removal in Wagon 4.0.0, and nothing in these tests needs a Wagon provider in particular; it was only ever the thing on the other side of the wagon transport.

Verified: mvn -pl maven-surefire-report-plugin test gives 13 tests, 0 failures, both before and after.

This came out of a survey of how Maven projects actually depend on Wagon. The identical pattern is being changed in apache/maven-project-info-reports-plugin#648 and apache/maven-checkstyle-plugin#681. It deliberately is not being changed in maven-doap-plugin: its tests resolve through the legacy maven-compat WagonManager, which looks up a Wagon by protocol, so a resolver transport cannot stand in — swapping it there fails with Cannot find wagon which supports the requested protocol: https.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@slachiewicz
Use the resolver's own HTTP transport in the report plugin tests
e161444
The test classpath carried maven-resolver-transport-wagon together with
wagon-http-lightweight purely so that Resolver had some way of speaking
HTTP. Resolver has shipped its own HTTP transport for years, so one
dependency does what two did.

wagon-http-lightweight is also marked for removal in Wagon 4.0.0, and
nothing here needs a Wagon provider specifically.
@slachiewicz slachiewicz added dependencies Pull requests that update a dependency file maintenance labels Aug 8, 2026
@slachiewicz slachiewicz mentioned this pull request Aug 8, 2026
[surefire-3.5.x] Use the resolver's own HTTP transport in the report plugin tests #3415
Merged
@slachiewicz
slachiewicz merged commit be93038 into apache:master Aug 8, 2026
27 of 28 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added this to the 3.6.0-M2 milestone Aug 8, 2026
@github-actions github-actions Bot assigned slachiewicz Aug 8, 2026
@slachiewicz
slachiewicz deleted the test-native-resolver-transport branch August 8, 2026 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@slachiewicz slachiewicz

Labels

dependencies Pull requests that update a dependency file maintenance

Projects

None yet

Milestone

3.6.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@slachiewicz
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.