cstamas opened a new pull request, #711:
URL: https://github.com/apache/maven/pull/711

   But keep Wagon as default transport. This PR merely includes
   resolver http and file transport and switches wagon-http
   to non-shaded one.
   
   Changes:
   * switch to non-shaded wagon-http (as httpClient is now shared)
   * include resolver http and file transport
   * override resolver default behaviour (native transport preferred over 
wagon, when both on classpath)
   * provide simplistic means to choose transport
   
   The chosen transport can be seen in debug (-X) output on line
   `[DEBUG] Using transporter XXX...`
   
   The `-Dmaven.transport` simplistic switch can be used to choose transport:
   * not set: default, that is Wagon
   * `wagon`: explicitly sets Wagon
   * `resolver`: explicitly sets resolver native transports (file and http)
   * `auto`: relies on resolver "auto discovery" (priorities, etc). This is 
MUST to keep transport pluggable with 3rd party transports. In fact, this was 
the default so far in Maven, along with the fact that native resolver 
transports were not included (as resolver prefers native ones over Wagon).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to