RE: Base Abstract Mojo

2010-06-18 Thread Giuseppe.Greco
YES it was a typo... and now it works! I'm sorry but yesterday after 12 hours at my desk I was a little bit burned out. Thanks a lot! Jeff > -Original Message- > From: Benjamin Bentmann [mailto:benjamin.bentm...@udo.edu] > Sent: Thursday, June 17, 2010 9:59 PM > To: Maven Developers List

Base Abstract Mojo

2010-06-17 Thread Giuseppe.Greco
Dear all, I created a base abstract mojo like this: public abstract class MyAbstractMojo extends AbstractMojo { /** * @parameter expression="${outputDirectory}" default-value"${project.build.directory}" */ protected File outputDirectory; /** * {...@inheritdoc} */

RE: How to get the execution id from a plugin

2010-06-15 Thread Giuseppe.Greco
t: Re: How to get the execution id from a plugin > > > >> > > > >> > > > >> http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-p > > > >> lugin-plugin/ > > > >> > > > >> On Jun 15, 2010, at 10:49 AM, > > > >> wrote: >

RE: How to get the execution id from a plugin

2010-06-15 Thread Giuseppe.Greco
> >>> ... it does not compile because the central repository does > >> not contain > >>> artifact maven-plugin-plugin :-( > >>> > >>> Jeff > >>> > >>>> -Original Message- > >>>> From: Benjamin

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 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

How to get the execution id from a plugin

2010-06-14 Thread Giuseppe.Greco
Hi all, I've already sent this question to the users list... but probably was the wrong place ;-) Anyway, I'm writing a Maven plugin: public class MyMojo extends AbstractMojo { ... private void execute() throws MojoExecutionException { /* I need to get the execution id here */