You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Quintin Beukes <qu...@last.za.net> on 2009/10/19 14:16:24 UTC

Offline equivalent only for updates

Hey,

Is there a --offline equivalent option/property which only affects
checking for updates. Sometimes with very large builds I can sit
waiting for hours while all the SNAPSHOT updates are being checked,
but it does happen that I don't always have all the dependencies in
the local repo where I'm building, then it fails anyway, forcing me to
start over and wait through the updates, ending up taking even longer
(in total).

Quintin Beukes

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Offline equivalent only for updates

Posted by Brian Fox <br...@infinity.nu>.
You can set the update policy per repo in your settings. Just change
it to never and it will only grab snapshots when you use -U

On Mon, Oct 19, 2009 at 8:16 AM, Quintin Beukes <qu...@last.za.net> wrote:
> Hey,
>
> Is there a --offline equivalent option/property which only affects
> checking for updates. Sometimes with very large builds I can sit
> waiting for hours while all the SNAPSHOT updates are being checked,
> but it does happen that I don't always have all the dependencies in
> the local repo where I'm building, then it fails anyway, forcing me to
> start over and wait through the updates, ending up taking even longer
> (in total).
>
> Quintin Beukes
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org