You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by szczepiq <sz...@gmail.com> on 2008/09/29 13:34:09 UTC

mirrors, oh mirrors

Hi all,

Mirrors are giving me headache recently. See this:

  <mirrors>
    <mirror>
      <id>corporate-repo</id>
      <name>corporate-repo-backup</name>
      <url>...</url>
      <mirrorOf>*</mirrorOf>
    </mirror>
    <mirror>
      <id>corporate-repo-backup</id>
      <name>corporate-repo-backup</name>
      <url>...</url>
      <mirrorOf>*</mirrorOf>
    </mirror>
  </mirrors>

Above configuration is a dead simple fail-over system. If
corporate-repo is down, I want the corporate-repo-backup to mirror
everything. Unfortunately it doesn't work :( It seems only last mirror
is active when "mirrorOf" property is the same. Is this how it suppose
to work? After all, the point of mirrors is to provide multiple
locations for the same content, isn't it? Any input?

Cheers,
Szczepan Faber

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: mirrors, oh mirrors

Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
Yes, Nexus 1.3 supports true mirrors.
http://www.sonatype.com/people/2009/03/new-feature-in-nexus-13-mirror-su
pport/

-----Original Message-----
From: CemKoc [mailto:cem.koc.fwd+nblmvn@gmail.com] 
Sent: Wednesday, April 08, 2009 7:05 AM
To: users@maven.apache.org
Subject: Re: mirrors, oh mirrors



Is there any solution about this problem?  



I'd like mirrors to provide multiple alternate locations. I put the
improvement request here: http://jira.codehaus.org/browse/MNG-3772

Cheers,
Szczepan



-- 
View this message in context:
http://n2.nabble.com/mirrors%2C-oh-mirrors-tp1125603p2604561.html
Sent from the maven users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: mirrors, oh mirrors

Posted by CemKoc <ce...@gmail.com>.

Is there any solution about this problem?  



I'd like mirrors to provide multiple alternate locations. I put the
improvement request here: http://jira.codehaus.org/browse/MNG-3772

Cheers,
Szczepan



-- 
View this message in context: http://n2.nabble.com/mirrors%2C-oh-mirrors-tp1125603p2604561.html
Sent from the maven users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: mirrors, oh mirrors

Posted by szczepiq <sz...@gmail.com>.
>The point of mirrors is to provide an alternate location for the content.

I'd like mirrors to provide multiple alternate locations. I put the
improvement request here: http://jira.codehaus.org/browse/MNG-3772

Cheers,
Szczepan

On Mon, Sep 29, 2008 at 1:41 PM, Jörg Schaible
<Jo...@scalaris.com> wrote:
> szczepiq wrote:
>> Hi all,
>>
>> Mirrors are giving me headache recently. See this:
>>
>>   <mirrors>
>>     <mirror>
>>       <id>corporate-repo</id>
>>       <name>corporate-repo-backup</name>
>>       <url>...</url>
>>       <mirrorOf>*</mirrorOf>
>>     </mirror>
>>     <mirror>
>>       <id>corporate-repo-backup</id>
>>       <name>corporate-repo-backup</name>
>>       <url>...</url>
>>       <mirrorOf>*</mirrorOf>
>>     </mirror>
>>   </mirrors>
>>
>> Above configuration is a dead simple fail-over system. If
>> corporate-repo is down, I want the corporate-repo-backup to mirror
>> everything. Unfortunately it doesn't work :( It seems only last mirror
>> is active when "mirrorOf" property is the same. Is this how it suppose
>> to work? After all, the point of mirrors is to provide multiple
>> locations for the same content, isn't it? Any input?
>
> The point of mirrors is to provide an alternate location for the content. This does not imply fallback. You can use for quite some OS organizations mirrors of their content (Apache, SF,net, ...), however, if you select a mirror and it is not available or out of date and your file is not found, you're also not automagically redirected to a different one, that is available and in sync.
>
> - Jörg
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: mirrors, oh mirrors

Posted by Jörg Schaible <Jo...@scalaris.com>.
szczepiq wrote:
> Hi all,
> 
> Mirrors are giving me headache recently. See this:
> 
>   <mirrors>
>     <mirror>
>       <id>corporate-repo</id>
>       <name>corporate-repo-backup</name>
>       <url>...</url>
>       <mirrorOf>*</mirrorOf>
>     </mirror>
>     <mirror>
>       <id>corporate-repo-backup</id>
>       <name>corporate-repo-backup</name>
>       <url>...</url>
>       <mirrorOf>*</mirrorOf>
>     </mirror>
>   </mirrors>
> 
> Above configuration is a dead simple fail-over system. If
> corporate-repo is down, I want the corporate-repo-backup to mirror
> everything. Unfortunately it doesn't work :( It seems only last mirror
> is active when "mirrorOf" property is the same. Is this how it suppose
> to work? After all, the point of mirrors is to provide multiple
> locations for the same content, isn't it? Any input?

The point of mirrors is to provide an alternate location for the content. This does not imply fallback. You can use for quite some OS organizations mirrors of their content (Apache, SF,net, ...), however, if you select a mirror and it is not available or out of date and your file is not found, you're also not automagically redirected to a different one, that is available and in sync.

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org