Re: offline mode with in plugin
thanx, I also realized my typo with ${settings.offline} expression. On Fri, Mar 5, 2010 at 1:38 PM, wrote: > 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 >> >> to: >> >> Maven Users List >> >> 05.03.2010 06:29 >> >> Sent by: >> >> meier.krist...@gmail.com >> >> Please respond to "Maven Users List" >> >> 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 ? > > > InterComponentWare AG: > Vorstand: Peter Kirschbauer (Vors.), Jörg Stadler / Aufsichtsratsvors.: Prof. > Dr. Christof Hettich > Firmensitz: 69190 Walldorf, Industriestraße 41 / AG Mannheim HRB 351761 / > USt.-IdNr.: DE 198388516 -- Kristian Meier + Saumya Sharma + Sanuka Meier Vadakkethu House, Edayanmula West PO - 689532, Pathanamthitta District, Kerala, INDIA tel: +91 468 2319577 protect your privacy while searching the net: www.ixquick.com _=_ q(-_-)p '_) (_` /__/ \ _(<_ / )_ (__\_\_|_/__) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: offline mode with in plugin
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 > > to: > > Maven Users List > > 05.03.2010 06:29 > > Sent by: > > meier.krist...@gmail.com > > Please respond to "Maven Users List" > > 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 ? InterComponentWare AG: Vorstand: Peter Kirschbauer (Vors.), Jörg Stadler / Aufsichtsratsvors.: Prof. Dr. Christof Hettich Firmensitz: 69190 Walldorf, Industriestraße 41 / AG Mannheim HRB 351761 / USt.-IdNr.: DE 198388516
Re: offline mode with in plugin
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 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 :-)) >> >> but it still does not give the the value of the command line switch >> "--offline" :-( >> >> - >> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org >> For additional commands, e-mail: users-h...@maven.apache.org >> >> > -- Kristian Meier + Saumya Sharma + Sanuka Meier Vadakkethu House, Edayanmula West PO - 689532, Pathanamthitta District, Kerala, INDIA tel: +91 468 2319577 protect your privacy while searching the net: www.ixquick.com _=_ q(-_-)p '_) (_` /__/ \ _(<_ / )_ (__\_\_|_/__) - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: offline mode with in plugin
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 :-)) > > but it still does not give the the value of the command line switch > "--offline" :-( > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
Re: offline mode with in plugin
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" :-( - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Re: offline mode with in plugin
/** * @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 information. how I can I find this ? > > thanx Kristian > > - > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >
offline mode with in plugin
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: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org