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
>