You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/10/27 05:45:31 UTC

[GitHub] [pulsar] lhotari commented on issue #6231: Intermittent Maven build errors - Could not resolve dependencies / Could not transfer artifact

lhotari commented on issue #6231:
URL: https://github.com/apache/pulsar/issues/6231#issuecomment-716998779


   There are some suggestions in this SO Q&A: https://stackoverflow.com/questions/55899091/maven-retry-dependency-download-if-failed .
   It seems that passing `-Dmaven.wagon.http.retryHandler.count=3` would help reduce the issues when downloads are retried 3 times. One of the answers suggests passing `-Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false`, however that might have a performance impact.
   I'll experiment to see if  `-Dmaven.wagon.http.retryHandler.count=3` helps fixing the issue.
   
   


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

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