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 do. I only can't tell since what Maven version that works.


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to