How can I configure maven to first check all the default repositories and if a jar is not found THEN check our corporate repo (Archiva)?

I've added the following to settings.xml however It tries to connect to this repo first, not last.

<id>Foo</id>
<url>http://my.company.com:8080/archiva/repository/internal/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>

This repo will also only be available if I am connected to our VPN. Is there also a way to configure a connect timeout so it doesn't hang for minutes when Im not connected to the VPN?

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to