[ 
https://jira.codehaus.org/browse/MPLUGIN-225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=312817#comment-312817
 ] 

Robert Scholte commented on MPLUGIN-225:
----------------------------------------

Actually it was Mark Struberg who hit this first.

In the {{FirstMojo.java}} file of the IT I do see a the @Component annotated 
{{MojoExecution}} but does it work?.
I'm referring to something like 
http://mojo.codehaus.org/cobertura-maven-plugin/xref/org/codehaus/mojo/cobertura/AbstractCoberturaMojo.html#71
MPLUGIN-204 talks about ${mojo}, not about ${mojoExecution}. Could that be a 
problem?
                
> Make MojoExecution available as Component
> -----------------------------------------
>
>                 Key: MPLUGIN-225
>                 URL: https://jira.codehaus.org/browse/MPLUGIN-225
>             Project: Maven 2.x Plugin Tools
>          Issue Type: Bug
>          Components: maven-plugin-tools-annotations
>    Affects Versions: 3.1
>            Reporter: Robert Scholte
>            Assignee: Herve Boutemy
>            Priority: Minor
>
> Just like {{MavenProject}} it should be possible to define the 
> {{MojoExecution}} as:
> {code}
> @Component
> private MojoExecution mojoExecution ;
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to