Right now, lists of mirrors which all override central do not work.
Only one will be picked and used. I'm reasonably certain this is
already filed in JIRA as a possible future enhancement.

Wayne

On 23 Mar 2007 09:29:06 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi

I've got a problem with mirrors
I've placed two mirrors in my settings.xml

<?xml version="1.0" encoding="UTF-8"?>
<settings>
  <proxies>
   <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>212.126.11.10</host>
      <port>8080</port>
      <nonProxyHosts>10.1.2.65|10.3.1.149|10.*|localhost|127.*</nonProxyHosts>
    </proxy>
  </proxies>
  <mirrors>
    <mirror>
      <id>ibiblio.org</id>
      <name>ibiblio Mirror of http://repo1.maven.org/maven2/</name>
      <url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
    <mirror>
      <id>cl</id>
      <name>CL Mirror of http://repo1.maven.org/maven2/</name>
      <url>http://10.1.2.65:9099/repository</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>
</settings>

Maven tries only download dependencies from the second, wheras some libraries 
must be downloaded from the first.
How to force maven to search for libraries in all mirrors?

Thanks in advance
pk

----------------------------------------------------------------------
Jestes kierowca? To poczytaj! >>> http://link.interia.pl/f199e


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to