You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kohsuke Kawaguchi (JIRA)" <ji...@codehaus.org> on 2008/04/19 01:45:55 UTC

[jira] Created: (MNG-3533) Unreachable mirror should cause Maven to fall back to the original repository

Unreachable mirror should cause Maven to fall back to the original repository
-----------------------------------------------------------------------------

                 Key: MNG-3533
                 URL: http://jira.codehaus.org/browse/MNG-3533
             Project: Maven 2
          Issue Type: Improvement
          Components: Artifacts and Repositories
    Affects Versions: 2.0.9
            Reporter: Kohsuke Kawaguchi


If I have a mirror configured in ~/.m2/settings.xml and for some reason Maven couldn't reach it (perhaps mirror is down), then Maven should attempt to talk to the original repository.
OTOH, if the mirror was reachable and returned 404, then Maven shouldn't attempt to connect to the original repository.

Today, regardless of how a failure happened, Maven treats them both as if it were a simple 404.

Mirrors are often set up inside a corporate firewall, and for an employee who often takes his computer outside firewall, this is a real problem.

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

        

[jira] Closed: (MNG-3533) Unreachable mirror should cause Maven to fall back to the original repository

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-3533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter closed MNG-3533.
-----------------------------

    Resolution: Duplicate

> Unreachable mirror should cause Maven to fall back to the original repository
> -----------------------------------------------------------------------------
>
>                 Key: MNG-3533
>                 URL: http://jira.codehaus.org/browse/MNG-3533
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Artifacts and Repositories
>    Affects Versions: 2.0.9
>            Reporter: Kohsuke Kawaguchi
>
> If I have a mirror configured in ~/.m2/settings.xml and for some reason Maven couldn't reach it (perhaps mirror is down), then Maven should attempt to talk to the original repository.
> OTOH, if the mirror was reachable and returned 404, then Maven shouldn't attempt to connect to the original repository.
> Today, regardless of how a failure happened, Maven treats them both as if it were a simple 404.
> Mirrors are often set up inside a corporate firewall, and for an employee who often takes his computer outside firewall, this is a real problem.

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