List Info

Thread: Get offline status from within a mojo?




Get offline status from within a mojo?
user name
2006-08-31 09:21:58
Hi,

Is it possible to detect wheter Maven is working offline
(with -o option)
from within a Mojo?

Regards,

Henrik
Get offline status from within a mojo?
user name
2006-08-31 09:42:36
Yes.

/** parameter
expression="${settings.offline}" */
boolean offline;

Cheers,
Brett

On 31/08/06, Henrik Mejlgaard <hmejlgaardgmail.com> wrote:
> Hi,
>
> Is it possible to detect wheter Maven is working
offline (with -o option)
> from within a Mojo?
>
> Regards,
>
> Henrik
>
>


-- 
Apache Maven - http://maven.apache.org
"Better Builds with Maven" book - http://library.mergere.co
m/

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribemaven.apache.org
For additional commands, e-mail: users-helpmaven.apache.org

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )