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

Arul Elvis J commented on MRESOURCES-271:
-----------------------------------------

[~michael-o] Can you please explain the solution ? We are using maven version 
3.6.3 and tried with -Dmaven.wagon.httpconnectionManager.ttlSeconds=240 option 
as well. But still getting the same error.

> Connection reset error from Azure pipelines
> -------------------------------------------
>
>                 Key: MRESOURCES-271
>                 URL: https://issues.apache.org/jira/browse/MRESOURCES-271
>             Project: Maven Resources Plugin
>          Issue Type: Bug
>         Environment: In both Ubuntu and Windows agent specification
>            Reporter: Arul Elvis J
>            Priority: Blocker
>         Attachments: logs_143613.zip
>
>   Original Estimate: 408h
>  Remaining Estimate: 408h
>
> When the pipelines are executed in Azure pipelines, we are facing connection 
> reset error. Azure pipelines team claims that connection is closed from Maven 
> central repo end. Below is the error message. Have attached the complete log 
> zip file for your reference. Can you please prioritize as soon as possible, 
> as it is impacting all the pipelines including the production builds ?
>  
> {{-------------------------------------------------------------------- }}
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources 
> (default-resources) on project bata-s-sfdc-deferredpromo: Execution 
> default-resources of goal 
> org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources failed: 
> Plugin org.apache.maven.plugins:maven-resources-plugin:3.0.2 or one of its 
> dependencies could not be resolved: Failed to collect dependencies at 
> org.apache.maven.plugins:maven-resources-plugin:jar:3.0.2 -> 
> org.apache.maven:maven-plugin-api:jar:3.0 -> 
> org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2 -> 
> org.codehaus.plexus:plexus-component-annotations:jar:1.6: Failed to read 
> artifact descriptor for 
> org.codehaus.plexus:plexus-component-annotations:jar:1.6: Could not transfer 
> artifact org.codehaus.plexus:plexus-component-annotations:pom:1.6 from/to 
> central ([https://repo.maven.apache.org/maven2)]: Connection reset -> [Help 
> 1] 
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch. 
> [ERROR] Re-run Maven using the -X switch to enable full debug logging. 
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles: 
> [ERROR] [Help 1] 
> [http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException] 
> The process 
> 'C:\ProgramData\chocolatey\lib\maven\apache-maven-3.6.3\bin\mvn.cmd' failed 
> with exit code 1 
> Could not retrieve code analysis results - Maven run failed. 
> {{##[error]Build failed. }}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to