I have a plugin which does some networking and I would like to obey
the maven commandline flag "--offline" but did not see any way to
retrieve that information. how I can I find this ?
thanx Kristian
-
To unsubscribe, e-mail: use
/**
* @param expression="${settings.offline}"
*/
private boolean offline;
if I recall correctly
On 4 March 2010 09:37, kristian wrote:
> I have a plugin which does some networking and I would like to obey
> the maven commandline flag "--offline" but did not see any way to
> retrieve that info
On Thu, Mar 4, 2010 at 5:34 PM, Stephen Connolly
wrote:
> /**
> * @param expression="${settings.offline}"
> */
> private boolean offline;
that gives me already access to the settings, great :-))
but it still does not give the the value of the command line switch
"--offline" :-(
--
Hmmm might be burried in MavenSession
On 4 March 2010 12:36, kristian wrote:
> On Thu, Mar 4, 2010 at 5:34 PM, Stephen Connolly
> wrote:
> > /**
> > * @param expression="${settings.offline}"
> > */
> > private boolean offline;
>
> that gives me already access to the settings, great :-))
>
> b
I saw this MavenSession object before but it is not a component
/** @component */
MavenSession session
does not work. is it possible to get access to the MavenSession from
with in a plugin ?
On Thu, Mar 4, 2010 at 9:47 PM, Stephen Connolly
wrote:
> Hmmm might be burried in MavenSession
>
> On 4
Of course:
27 /**
28 * @parameter expression="${session}"
29 */
30 private MavenSession mavenSession;
Bernd
meier.krist...@gmail.com wrote on 05.03.2010 06:28:53:
> [image removed]
>
> Re: offline mode with in plugin
>
> kristian
>
>
>
> meier.krist...@gmail.com wrote on 05.03.2010 06:28:53:
>
>> [image removed]
>>
>> Re: offline mode with in plugin
>>
>> kristian
>>
>> to:
>>
>> Maven Users List
>>
>> 05.03.2010 06:29
>>
>> Sent by:
>