Attila Magyar created KNOX-2639:
-----------------------------------
Summary: Build instability because maven artifact download failure
Key: KNOX-2639
URL: https://issues.apache.org/jira/browse/KNOX-2639
Project: Apache Knox
Issue Type: Task
Components: Build
Reporter: Attila Magyar
Assignee: Attila Magyar
Travis often fails because of a maven dependency download issue:
{code:java}
Error: Failed to execute goal on project gateway-test-release: Could not
resolve dependencies for project
org.apache.knox:gateway-test-release:pom:1.6.0-SNAPSHOT: Failed to collect
dependencies at org.eclipse.jetty:jetty-util-ajax:jar:9.4.34.v20201102: Failed
to read artifact descriptor for
org.eclipse.jetty:jetty-util-ajax:jar:9.4.34.v20201102: Could not transfer
artifact org.eclipse.jetty:jetty-util-ajax:pom:9.4.34.v20201102 from/to central
(https://repo.maven.apache.org/maven2): transfer failed for
https://repo.maven.apache.org/maven2/org/eclipse/jetty/jetty-util-ajax/9.4.34.v20201102/jetty-util-ajax-9.4.34.v20201102.pom:
Connection timed out (Read failed) -> [Help 1]
{code}
Let's try fixing this by adding some retry logic.
{code:java}
-Dmaven.wagon.http.retryHandler.count=3 {code}
If it doesn't work we might need to add some shell script to do the retry.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)