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
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}
*/
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
:-(
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
...@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
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
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 */