Skip to content

[MNG-7454] Include resolver-transport-http in Maven #9137

@jira-importer

Description

@jira-importer

Tamas Cservenak opened MNG-7454 and commented

We should include maven-resolver-transport-http (along with existing maven-resolver-transport-wagon) but retain Wagon as default transport, while offer ability for users to use http transport to utilize new resolver features like "smart checksums".
On positive side, this will finally get rid of shaded httpClient and wagon-http-shaded as well.

To switch transport use -Dmaven.resolver.transport with following values:

  • wagon - to use wagon (is default as well)
  • native - to use resolver own highly optimized HTTP and FILE transport (supports "smart checksums")
  • auto - to rely on resolver own discovery, or if another transport extension used

The selected transport can be seen in debug (-X) output on line [DEBUG] Using transporter XXX...


Issue Links:

  • MNG-7614 Maven should translate transport configuration fully to resolver transports.
    ("incorporates")

Remote Links:

Backported to: 4.0.0-alpha-2, 3.9.0

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions