That doesn't configure a mirror, it just adds another repository to
search, but that will only be searched after the central mirror.

See the guide on configuring a mirror:
http://maven.apache.org/guides/mini/guide-mirror-settings.html 

-----Original Message-----
From: Alex Shneyderman [mailto:[EMAIL PROTECTED] 
Sent: Friday, July 07, 2006 2:17 PM
To: Maven Users List
Subject: Maven-Proxy ?

With maven1 we are runing maven-proxy to cache the jars we care about.
Now I am looking how to do this with maven2 artifacts and can not figure
how to make it work.

I have something like this in my pom (maven2):
<project>
  <repositories>
    <repository>
      <id>central</id>
      <name>Proxy Central Repository</name>
      <layout>default</layout>
      <url>http://myhost:9999</url>
    </repository>
  </repositories>
</project>

when I run mvn the log shows this:

Downloading:
http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
145b downloaded

so the question is why? Is this because something is wrong with my
maven-proxy and it just does not handle m2 request or there is an issue
with changing a repo to an alternative location?

Thanks,
Alex.

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


-----------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments
are from Cerner Corporation and are intended only for the
addressee. The information contained in this message is
confidential and may constitute inside or non-public information
under international, federal, or state securities laws.
Unauthorized forwarding, printing, copying, distribution, or use of
such information is strictly prohibited and may be unlawful. If you
are not the addressee, please promptly delete this message and
notify the sender of the delivery error by e-mail or you may call
Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1)
(816)221-1024. -------------------------------------------


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

Reply via email to