[ 
https://issues.apache.org/jira/browse/MDEPLOY-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15528083#comment-15528083
 ] 

ASF GitHub Bot commented on MDEPLOY-214:
----------------------------------------

GitHub user pabloa opened a pull request:

    https://github.com/apache/maven-plugins/pull/92

    MDEPLOY-214: Added property "retryFailedDeploymentDelay" on 
maven-deploy-plugin

    This property impose a delay between 0 seconds to 5 minutes (max)
    between retries. Default value: 20 seconds. The intention is to
    make maven-deploy-plugin more solid and stable when network
    glitches happens.
    
    ticket https://issues.apache.org/jira/browse/MDEPLOY-214
    in maven-deploy-plugin has the details.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pabloa/maven-plugins MDEPLOY-214

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/maven-plugins/pull/92.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #92
    
----
commit f1a0513e371ba38e5bb07395a75a07c68eba7249
Author: Pablo Alcaraz <pablo...@gmail.com>
Date:   2016-09-28T01:48:11Z

    Added property "retryFailedDeploymentDelay".
    This property impose a delay between 0 seconds to 5 minutes (max)
    between retries. Default value: 20 seconds. The intention is to
    make maven-deploy-plugin more solid and stable when network
    glitches happens.
    
    ticket https://issues.apache.org/jira/browse/MDEPLOY-214
    in maven-deploy-plugin has the details.

----


> retryFailedDeploymentCount=10 retries and fails immediately without a waiting 
> time between retries
> --------------------------------------------------------------------------------------------------
>
>                 Key: MDEPLOY-214
>                 URL: https://issues.apache.org/jira/browse/MDEPLOY-214
>             Project: Maven Deploy Plugin
>          Issue Type: Bug
>          Components: deploy:deploy
>    Affects Versions: 2.8.2
>            Reporter: Pablo Alcaraz
>
> a pom.xml file with:
> {code:xml}
>                 <plugin>
>                     <groupId>org.apache.maven.plugins</groupId>
>                     <artifactId>maven-deploy-plugin</artifactId>
>                     <version>2.8.2</version>
>                     <configuration>
>                         
> <retryFailedDeploymentCount>10</retryFailedDeploymentCount>
>                     </configuration>
>                 </plugin>
> {code}
> {code:html}
> [INFO] Uploading: 
> http://mvnrepository:8080/repository/ailive-central/com/mycompany/frontend-async/0.1.0-SNAPSHOT/frontend-async-0.1.0-20160927.211519-46-allinone.jar
> Sep 27, 2016 2:15:22 PM 
> org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
> execute
> INFO: I/O exception (java.net.SocketException) caught when processing request 
> to {}->http://mvnrepository:8080: Connection reset
> Sep 27, 2016 2:15:22 PM 
> org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec 
> execute
> INFO: Retrying request to {}->http://mvnrepository:8080
> [WARNING] Encountered issue during deployment: Failed to deploy artifacts: 
> Could not transfer artifact 
> com.mycompany:frontend-async:jar:allinone:0.1.0-20160927.211519-46 from/to 
> ailive-central (http://mvnrepository:8080/repository/ailive-central): Connect 
> to mvnrepository:8080 [mvnrepository/172.17.0.180] failed: Connection refused
> [INFO] Retrying deployment attempt 2 of 10
> [INFO] Uploading: 
> http://mvnrepository:8080/repository/ailive-central/com/mycompany/frontend-async/0.1.0-SNAPSHOT/frontend-async-0.1.0-20160927.211519-46-allinone.jar
> [WARNING] Encountered issue during deployment: Failed to deploy artifacts: 
> Could not transfer artifact 
> com.mycompany:frontend-async:jar:allinone:0.1.0-20160927.211519-46 from/to 
> ailive-central (http://mvnrepository:8080/repository/ailive-central): Connect 
> to mvnrepository:8080 [mvnrepository/172.17.0.180] failed: Connection refused
> [INFO] Retrying deployment attempt 3 of 10
> [INFO] Uploading: 
> http://mvnrepository:8080/repository/ailive-central/com/mycompany/frontend-async/0.1.0-SNAPSHOT/frontend-async-0.1.0-20160927.211519-46-allinone.jar
> [WARNING] Encountered issue during deployment: Failed to deploy artifacts: 
> Could not transfer artifact 
> com.mycompany:frontend-async:jar:allinone:0.1.0-20160927.211519-46 from/to 
> ailive-central (http://mvnrepository:8080/repository/ailive-central): Connect 
> to mvnrepository:8080 [mvnrepository/172.17.0.180] failed: Connection refused
> [INFO] Retrying deployment attempt 4 of 10
> [INFO] Uploading: 
> http://mvnrepository:8080/repository/ailive-central/com/mycompany/frontend-async/0.1.0-SNAPSHOT/frontend-async-0.1.0-20160927.211519-46-allinone.jar
> [WARNING] Encountered issue during deployment: Failed to deploy artifacts: 
> Could not transfer artifact 
> com.mycompany:frontend-async:jar:allinone:0.1.0-20160927.211519-46 from/to 
> ailive-central (http://mvnrepository:8080/repository/ailive-central): Connect 
> to mvnrepository:8080 [mvnrepository/172.17.0.180] failed: Connection refused
> [INFO] Retrying deployment attempt 5 of 10
> [INFO] Uploading: 
> http://mvnrepository:8080/repository/ailive-central/com/mycompany/frontend-async/0.1.0-SNAPSHOT/frontend-async-0.1.0-20160927.211519-46-allinone.jar
> [WARNING] Encountered issue during deployment: Failed to deploy artifacts: 
> Could not transfer artifact 
> com.mycompany:frontend-async:jar:allinone:0.1.0-20160927.211519-46 from/to 
> ailive-central (http://mvnrepository:8080/repository/ailive-central): Connect 
> to mvnrepository:8080 [mvnrepository/172.17.0.180] failed: Connection refused
> [INFO] Retrying deployment attempt 6 of 10
> [INFO] Uploading: 
> http://mvnrepository:8080/repository/ailive-central/com/mycompany/frontend-async/0.1.0-SNAPSHOT/frontend-async-0.1.0-20160927.211519-46-allinone.jar
> [WARNING] Encountered issue during deployment: Failed to deploy artifacts: 
> Could not transfer artifact 
> com.mycompany:frontend-async:jar:allinone:0.1.0-20160927.211519-46 from/to 
> ailive-central (http://mvnrepository:8080/repository/ailive-central): Connect 
> to mvnrepository:8080 [mvnrepository/172.17.0.180] failed: Connection refused
> [INFO] Retrying deployment attempt 7 of 10
> [INFO] Uploading: 
> http://mvnrepository:8080/repository/ailive-central/com/mycompany/frontend-async/0.1.0-SNAPSHOT/frontend-async-0.1.0-20160927.211519-46-allinone.jar
> [WARNING] Encountered issue during deployment: Failed to deploy artifacts: 
> Could not transfer artifact 
> com.mycompany:frontend-async:jar:allinone:0.1.0-20160927.211519-46 from/to 
> ailive-central (http://mvnrepository:8080/repository/ailive-central): Connect 
> to mvnrepository:8080 [mvnrepository/172.17.0.180] failed: Connection refused
> [INFO] Retrying deployment attempt 8 of 10
> [INFO] Uploading: 
> http://mvnrepository:8080/repository/ailive-central/com/mycompany/frontend-async/0.1.0-SNAPSHOT/frontend-async-0.1.0-20160927.211519-46-allinone.jar
> [WARNING] Encountered issue during deployment: Failed to deploy artifacts: 
> Could not transfer artifact 
> com.mycompany:frontend-async:jar:allinone:0.1.0-20160927.211519-46 from/to 
> ailive-central (http://mvnrepository:8080/repository/ailive-central): Connect 
> to mvnrepository:8080 [mvnrepository/172.17.0.180] failed: Connection refused
> [INFO] Retrying deployment attempt 9 of 10
> [INFO] Uploading: 
> http://mvnrepository:8080/repository/ailive-central/com/mycompany/frontend-async/0.1.0-SNAPSHOT/frontend-async-0.1.0-20160927.211519-46-allinone.jar
> [WARNING] Encountered issue during deployment: Failed to deploy artifacts: 
> Could not transfer artifact 
> com.mycompany:frontend-async:jar:allinone:0.1.0-20160927.211519-46 from/to 
> ailive-central (http://mvnrepository:8080/repository/ailive-central): Connect 
> to mvnrepository:8080 [mvnrepository/172.17.0.180] failed: Connection refused
> [INFO] Retrying deployment attempt 10 of 10
> [INFO] Uploading: 
> http://mvnrepository:8080/repository/ailive-central/com/mycompany/frontend-async/0.1.0-SNAPSHOT/frontend-async-0.1.0-20160927.211519-46-allinone.jar
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to