Hi Thorsten,

Thanks for your reply! So by doing that, you're saying that you only want to
use your mirror if the central repo is down, correct?

However I would like to use the maven proxy before trying to contact
central. What am I getting wrong?

Thanks,

Gareth

On 3/22/06, Thorsten Heit <[EMAIL PROTECTED]> wrote:
>
> Hi Gareth,
>
> I'm using the following in my pom.xml:
>
> <repositories>
>   <repository>
>     <releases>
>       <enabled>false</enabled>
>     </releases>
>     <id>apache.snapshots</id>
>     <name>Apache Development Repository</name>
>     <url>http://cvs.apache.org/maven-snapshot-repository</url>
>   </repository>
> </repositories>
>
>
> The Maven proxy is specified in my settings.xml:
>
> <settings>
>   <mirrors>
>     <mirror>
>       <id>bender</id>
>       <name>Internal mirror of http://repo1.maven.org/maven2/</name>
>       <url>http://maven_proxy:9999/repository</url>
>       <mirrorOf>central</mirrorOf>
>     </mirror>
>   </mirrors>
> </settings>
>
> Thorsten
>
>

Reply via email to