mirrors should allow specifying multiple alternate locations
------------------------------------------------------------

                 Key: MNG-3772
                 URL: http://jira.codehaus.org/browse/MNG-3772
             Project: Maven 2
          Issue Type: Improvement
          Components: Settings
    Affects Versions: 2.0.9
            Reporter: Szczepan Faber


In maven 2.0.9, when multiple mirrors are specified with the same "mirrorOf" 
value, only the last mirror is used. I would like the mirrors to handle 
multiple alternate locations.

Benefits:
-ability to implement simple fail-over system with two mirrors mirroring the 
same repo(s)
-increased intuitiveness. Currently, if you have 2 mirrors with the same 
"mirrorOf" then the first mirror is ignored. Last mirror wins but I couldn't 
find the info about it in the docs.

I can provide a patch if maven guys are interested in merging this improvement 
to maven.

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

        

Reply via email to