HI,
You configure connexion on settings.xml file with mirrors tag.
<mirrors>
<mirror>
<mirrorOf>central</mirrorOf>
<name>Internal Repos</name>
<url>http://internalhost:9999</url>
<id>local-proxy</id>
</mirror>
</mirrors>
Tom.
2006/4/25, Ben Short <[EMAIL PROTECTED]>:
> Hi,
>
> I am trying to setup maven-proxy on my network and make all my clients
> connect to it rather than go to the internet. But when I run mvn complie it
> always connect to the internet server first. If maven can't find a
> dependency on the internet server then it tries my maven-proxy.
>
> I have added the following to my pom.
>
> <repositories>
> <repository>
> <id>internal</id>
> <name>Internal Repos</name>
> <layout>default</layout>
> <url>http://internalhost:9999</url>
> </repository>
> </repositories>
>
> I have also set the id element to central but it still uses the internet
> server first.
>
> Any ideas?
>
> Ben
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]