You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Attila Magyar (Jira)" <ji...@apache.org> on 2021/07/28 14:42:00 UTC

[jira] [Updated] (KNOX-2639) Build instability because of maven artifact download failure

     [ https://issues.apache.org/jira/browse/KNOX-2639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Attila Magyar updated KNOX-2639:
--------------------------------
    Summary: Build instability because of maven artifact download failure  (was: Build instability because maven artifact download failure)

> Build instability because of 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
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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=5{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)