[ 
https://jira.codehaus.org/browse/MNG-5509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Herve Boutemy updated MNG-5509:
-------------------------------

    Description: 
When Maven is directly using Wagon it is missing the User-Agent. Aether's 
{{org.eclipse.aether.connector.wagon.WagonRepositoryConnector}} has a trick to 
set the User Agent, the {{DefaultWagonManager}} should do the same thing.

This is causing recently access deny from Central repository:
{noformat}org.apache.maven.wagon.TransferFailedException: Authorization failed: 
Access denied to: http://repo.maven.apache.org/maven2/... , ReasonPhrase:Denied 
Access.{noformat}

see [discussion on dev 
ml|http://mail-archives.apache.org/mod_mbox/maven-dev/201308.mbox/%3CCAJZRQKy4-_kPSXg9eKaeReJWzJvTd%3DxP-MPqoa9qgaqEEcyj1g%40mail.gmail.com%3E]
 for more details

  was:When Maven is directly using Wagon it is missing the User-Agent. Aether's 
{{org.eclipse.aether.connector.wagon.WagonRepositoryConnector}} has a trick to 
set the User Agent, the {{DefaultWagonManager}} should do the same thing.

    
> org.apache.maven.repository.legacy.DefaultWagonManager should set User-Agent
> ----------------------------------------------------------------------------
>
>                 Key: MNG-5509
>                 URL: https://jira.codehaus.org/browse/MNG-5509
>             Project: Maven 2 & 3
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 3.0.5, 3.1.0
>            Reporter: Robert Scholte
>            Assignee: Robert Scholte
>            Priority: Critical
>             Fix For: 3.1.1
>
>
> When Maven is directly using Wagon it is missing the User-Agent. Aether's 
> {{org.eclipse.aether.connector.wagon.WagonRepositoryConnector}} has a trick 
> to set the User Agent, the {{DefaultWagonManager}} should do the same thing.
> This is causing recently access deny from Central repository:
> {noformat}org.apache.maven.wagon.TransferFailedException: Authorization 
> failed: Access denied to: http://repo.maven.apache.org/maven2/... , 
> ReasonPhrase:Denied Access.{noformat}
> see [discussion on dev 
> ml|http://mail-archives.apache.org/mod_mbox/maven-dev/201308.mbox/%3CCAJZRQKy4-_kPSXg9eKaeReJWzJvTd%3DxP-MPqoa9qgaqEEcyj1g%40mail.gmail.com%3E]
>  for more details

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to