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
the execution id from a plugin Giuseppe.Greco wrote: private void execute() throws MojoExecutionException { /* I need to get the execution id here */ } /** * @parameter default-value=${mojoExecution} * @readonly */ private MojoExecution

RE: How to get the execution id from a plugin

2010-06-15 Thread Giuseppe.Greco
:-( 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 get the execution id from a plugin Giuseppe.Greco wrote: private void execute() throws

RE: How to get the execution id from a plugin

2010-06-15 Thread Giuseppe.Greco
...@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 execute() throws MojoExecutionException { /* I need to get the execution id here

RE: How to get the execution id from a plugin

2010-06-15 Thread Giuseppe.Greco
Developers List Subject: 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-value=${mojoExecution

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