apache / apache/maven-deploy-plugin

[MDEPLOY-214] retryFailedDeploymentCount=10 retries and fails immediately without a waiting time between retries

Open
#372 4 comments 0 reactions 0 assignees View on GitHub
bug priority:major
Dominant language
Java
Stars
78
Forks
76
Avg merge
2d 11h
Merged PRs (30d)
12

Description

**[Pablo Alcaraz](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=pabloa)** opened **[MDEPLOY-214](https://issues.apache.org/jira/browse/MDEPLOY-214?redirect=false)** and commented

a pom.xml file with:

```xml

org.apache.maven.plugins
maven-deploy-plugin
2.8.2

10

```

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

---

**Affects:** 2.8.2

**Issue Links:**
- [WAGON-575](https://issues.apache.org/jira/browse/WAGON-575) Retry for connection issues
(_**"duplicates"**_)

**Remote Links:**
- [GitHub Pull Request #92
](https://github.com/apache/maven-plugins/pull/92)
- [GitHub Pull Request #18
](https://github.com/apache/maven-shared/pull/18)

1 votes, 5 watchers

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.