Hi,

You'd better not use the @Component annotation but @Parameter instead: this is 
a feature that will be deprecated in future version:

http://jira.codehaus.org/browse/MPLUGIN-257

Regards,

Hervé

Le jeudi 6 février 2014 22:04:57 Karl Heinz Marbaise a écrit :
> Hi,
> 
> in the meantime i found a better way (thanks to Robert Scholte):
> 
>      @Component
>      private MojoExecution mojoExecution;
> 
> 
>      mojoExecution.getExecutionId();
>      mojoExecution.getConfiguration();
> 
> Kind regards
> Karl Heinz Marbaise
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
> For additional commands, e-mail: dev-h...@maven.apache.org


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

Reply via email to