Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7454

Include resolver-transport-http in Maven

    XMLWordPrintableJSON

Details

    Description

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

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: