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 tests by slachiewicz · Pull Request #681 · apache/maven-checkstyle-plugin

Conversation

@slachiewicz

@slachiewicz slachiewicz commented Aug 8, 2026

Copy link
Copy Markdown
Member

The 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} does the same job on its own. maven-resolver-connector-basic stays as it is — that is the connector, not the transport.

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

Verified: mvn test gives 26 tests, 0 failures, 1 skipped both before and after.

This came out of a survey of how Maven projects actually depend on Wagon. The same pattern appears in maven-project-info-reports-plugin and maven-surefire-report-plugin, which are getting the same change. It does not work in maven-doap-plugin, whose tests resolve through the legacy maven-compat WagonManager and so genuinely need a Wagon provider registered for https — that one is being left alone.

The <ignoredDependencies> list for the dependency analysis is updated to match.

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 tests
44cd393
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.

The dependency analysis ignore list is updated to match.
@slachiewicz slachiewicz mentioned this pull request Aug 8, 2026
Use the resolver's own HTTP transport in the report plugin tests apache/maven-surefire#3414
Merged
@slachiewicz slachiewicz added dependencies Pull requests that update a dependency file maintenance labels Aug 8, 2026
@slachiewicz
slachiewicz merged commit e4764db into apache:master Aug 8, 2026
17 checks passed

Uh oh!

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

@slachiewicz
slachiewicz deleted the test-native-resolver-transport branch August 8, 2026 12:55
@github-actions github-actions Bot assigned slachiewicz Aug 8, 2026
@github-actions github-actions Bot added this to the 3.6.1 milestone Aug 8, 2026
@slachiewicz

slachiewicz commented Aug 8, 2026

Copy link
Copy Markdown
Member Author

Added a second commit removing the unused maven-compat test dependency, and dropping it from the dependency-analysis <ignoredDependencies> list at the same time.

Nothing in the plugin imports anything from maven-compat — the declaration had simply outlived whatever needed it, and the ignore rule was what kept the analysis quiet about it.

Tests: 26, 0 failures, 1 skipped — unchanged by either commit.

Kept on this branch rather than opened as a separate PR since it touches adjacent lines in the same file. Happy to split it out if you would rather review them apart.

This is part of a wider survey of which projects still declare maven-compat versus which genuinely use it; several turn out never to touch it, while others depend on it in ways that are not trivially removable.

All reactions

Sorry, something went wrong.

Uh oh!

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

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.1

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.