RE: How to get the execution id from a plugin

2010-06-15 Thread Giuseppe.Greco
Guy, It works! Thank you very much for your help. Cheers, Jeff > -Original Message- > From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > Sent: Tuesday, June 15, 2010 5:36 PM > To: Maven Developers List > Subject: Re: How to get the execution id from a pl

Re: How to get the execution id from a plugin

2010-06-15 Thread Stephen Connolly
t 11:04 AM, > > wrote: > > > > > Found... but version 2.6 does not contain class > > MojoExecution and the > > > code below does not compile. > > > > > >> -Original Message- > > >> From: Jason van Zyl [mailto:ja...@sonatyp

RE: How to get the execution id from a plugin

2010-06-15 Thread Giuseppe.Greco
gt; -Original Message- > From: Jason van Zyl [mailto:ja...@sonatype.com] > Sent: Tuesday, June 15, 2010 5:14 PM > To: Maven Developers List > Subject: Re: How to get the execution id from a plugin > > > Yes, I realize. > > Look at an existing plugin and start

Re: How to get the execution id from a plugin

2010-06-15 Thread Benjamin Bentmann
Giuseppe.Greco wrote: Found... but version 2.6 does not contain class MojoExecution and the code below does not compile. I don't really understand what you're trying to do when you *depend* on the maven-plugin-plugin, usually it's just used to built your plugin's metadata. MojoExecution is

Re: How to get the execution id from a plugin

2010-06-15 Thread Jason van Zyl
t version 2.6 does not contain class MojoExecution and the > code below does not compile. > >> -Original Message- >> From: Jason van Zyl [mailto:ja...@sonatype.com] >> Sent: Tuesday, June 15, 2010 4:51 PM >> To: Maven Developers List >> Subje

RE: How to get the execution id from a plugin

2010-06-15 Thread Giuseppe.Greco
lugin-plugin :-( > > > > Jeff > > > >> -Original Message- > >> From: Benjamin Bentmann [mailto:benjamin.bentm...@udo.edu] > >> Sent: Tuesday, June 15, 2010 3:49 PM > >> To: Maven Developers List > >> Subject: Re: How to g

Re: How to get the execution id from a plugin

2010-06-15 Thread Jason van Zyl
gt; From: Benjamin Bentmann [mailto:benjamin.bentm...@udo.edu] >> Sent: Tuesday, June 15, 2010 3:49 PM >> To: Maven Developers List >> Subject: Re: How to get the execution id from a plugin >> >> >> Giuseppe.Greco wrote: >> >>>private void ex

RE: How to get the execution id from a plugin

2010-06-15 Thread Giuseppe.Greco
Re: How to get the execution id from a plugin > > > Giuseppe.Greco wrote: > > > private void execute() throws MojoExecutionException > > { > > /* I need to get the execution id here */ > > } > >/** > * @parameter default-valu

RE: How to get the execution id from a plugin

2010-06-15 Thread Martin Gainty
t obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Tue, 15 Jun 2010 15:48:47 +0200 > From: benjamin.bentm...@udo.edu > To: dev@maven.apache.org > Subject: Re:

Re: How to get the execution id from a plugin

2010-06-15 Thread Benjamin Bentmann
Giuseppe.Greco wrote: private void execute() throws MojoExecutionException { /* I need to get the execution id here */ } /** * @parameter default-value="${mojoExecution}" * @readonly */ private MojoExecution mojoExecution; and mojoExecution.getId(); should