You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2010/03/05 05:19:56 UTC

[jira] Updated: (MNG-2741) [regression] Meaningless error message: "Error transferring file"

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

Brett Porter updated MNG-2741:
------------------------------

    Fix Version/s:     (was: 2.2.x (to be reviewed))
                   3.0-alpha-7
          Summary: [regression] Meaningless error message: "Error transferring file"  (was: Meaningless error message: "Error transferring file")

This was actually improved in Maven 2.2, eg:

[WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-foo-plugin' could not be retrieved from repository: foo due to an error: Authorization failed: Access denied to: .../org/apache/maven/plugins/maven-foo-plugin/maven-metadata.xml

or:

[WARNING] repository metadata for: 'org.apache.maven.plugins' could not be retrieved from repository: foo due to an error: Error transferring file: Connection refused

In contrast, trunk is reporting this for both events:

[WARNING] Failed to retrieve org/apache/maven/plugins/maven-metadata.xml: Error transferring artifact.



> [regression] Meaningless error message: "Error transferring file"
> -----------------------------------------------------------------
>
>                 Key: MNG-2741
>                 URL: http://jira.codehaus.org/browse/MNG-2741
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Artifacts and Repositories, Errors
>    Affects Versions: 2.0.4
>            Reporter: Graham Leggett
>            Assignee: John Casey
>             Fix For: 3.0-alpha-7
>
>
> When an attempt is made to resolve dependencies, the following error is encountered:
> [INFO] artifact org.apache.maven.plugins:maven-resources-plugin: checking for updates from codehaus-mojo-snapshot-plugins
> [WARNING] repository metadata for: 'artifact org.apache.maven.plugins:maven-resources-plugin' could not be retrieved from repository: codehaus-mojo-snapshot-plugins due to an error: Error transferring file
> [INFO] Repository 'codehaus-mojo-snapshot-plugins' will be blacklisted
> Without further information, debugging this problem is impractical.
> Information needed in the error message:
> - Whether or not a proxy is being used, and if so, which one. (Symptoms in this case indicate no proxy is being used, yet a proxy is configured - no way to tell whether its a config problem or a proxy problem)
> - Whether the server and/or proxy server gave an error code (4xx, 5xx), or whether there was no response at all.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira