dev@glassfish.java.net

Re: v3 - is there a way to skip update with mvn?

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Fri, 07 Dec 2007 17:59:33 -0800

Thanks, Mitesh! I didn't know about the -o option.

Mitesh Meswani wrote:

> Drop -U switch - Here is from output of mvn --help
>
> -U,--update-snapshots Forces a check for updated releases and
> snapshots on remote repositories
>
> Another option is to use mvn -o which assumes that you are offline.
> That is use "mvn -o Install"
>
>
> Jane Young wrote:
>
>> Hi,
>>
>> I'm compiling in my own module:
>> cd v3/admin/<module-name>
>> mvn -U install
>>
>> So mvn starts checking for updates.
>> i.e.
>> ...
>> snapshot com.sun.enterprise:hk2:0.2-SNAPSHOT: checking for updates
>> from <repostiory>
>> ...
>>
>> Is there a way to skip the update and build my module directly?
>>
>> Thanks,
>> Jane
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>