[GitHub] maven-wagon issue #37: making the retry handle of http client configurable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] maven-wagon issue #37: making the retry handle of http client configurable

Tibor17-2
Github user rmannibucau commented on the issue:

    https://github.com/apache/maven-wagon/pull/37
 
    @jkff default didnt change (backwd compat but open to suggestions)
   
    idea is to add system properties to maven (MAVEN_OPTS). Here are some samples:
   
   
        -Dmaven.wagon.http.retryhandler.class=default
        -Dmaven.wagon.http.retryhandler.count=5
        -Dmaven.wagon.http.retryhandler.requestSentEnabled=false #default
        -Dmaven.wagon.http.retryhandler.nonRetryableClasses=javax.net.ssl.SSLException,java.net.UnknownHostException
   
    Note that `-Dmaven.wagon.http.retryhandler.class=default` can be switched to `-Dmaven.wagon.http.retryhandler.class=standard` to use the standard retry handler impl. using a fqn class name of a http retry handler it will replace the default impl with your custom class (you must add the jar to maven libs).



---

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]