You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Scott Yongjie Liu <sl...@processia.com> on 2005/07/12 17:41:06 UTC

Local repository first

Hello everybody,

 

Maven is always checking remote repository b4 local even if the
artifacts are already downloaded, is there any way to configure this?

 

Thanks,

 

Scott


Re: Local repository first

Posted by Allan Ramirez <ar...@exist.com>.
Scott Yongjie Liu wrote:

>Hello everybody,
>
> 
>
>Maven is always checking remote repository b4 local even if the
>artifacts are already downloaded, is there any way to configure this?
>
> 
>
>Thanks,
>
> 
>
>Scott
>
>
>  
>
try this. "m2 install -o"

-o option means that maven will work offline.

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


Re: Local repository first

Posted by Alex Soto <ap...@gmail.com>.
see maven --help

use the -o OR --offline option

On 7/12/05, Scott Yongjie Liu <sl...@processia.com> wrote:
> 
> Hello everybody,
> 
> 
> 
> Maven is always checking remote repository b4 local even if the
> artifacts are already downloaded, is there any way to configure this?
> 
> 
> 
> Thanks,
> 
> 
> 
> Scott
> 
> 
>