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
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
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
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
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
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
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
>
>
> Giuseppe.Greco wrote:
>
> > private void execute() throws MojoExecutionException
> > {
> > /* I need to get the execution id here */
> > }
>
>/**
> * @parameter default-valu
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:
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
10 matches
Mail list logo