maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Connolly <stephen.alan.conno...@gmail.com>
Subject Re: [PROPOSAL] Java 5 Annotations for Plugins
Date Fri, 04 Nov 2011 11:13:10 GMT
to clarify what I mean, you generate a class that extends
AbstractMojo, has the required injection fields for all the
@parameters and has an execute method that passes through all the
injection fields and then invokes the required method.

On 4 November 2011 11:11, Stephen Connolly
<stephen.alan.connolly@gmail.com> wrote:
> Syntetic bridging classes solves that issue and keeps 2.2.1 compat (as
> 2.0.x is JDK 1.4)
>
> On 4 November 2011 11:09, Olivier Lamy <olamy@apache.org> wrote:
>> Hello,
>>
>> Things like below will need some changes in core, IMHO we need to be
>> compliant with core 2.x and 3.x :
>>
>>  @Goal(name="foo")
>>  public void doExecuteGoal() {
>>    // equiv of AbstractMojo.execute without requiring the interface
>>  }
>>
>>  @Goal(name="bar")
>>  public void doOtherExecuteGoal() {
>>    // allowing multiple goals from the same shared common class
>>  }
>>
>>
>>
>> 2011/11/4 Stephen Connolly <stephen.alan.connolly@gmail.com>:
>>> added a comment
>>>
>>> On 3 November 2011 23:18, Hervé BOUTEMY <herve.boutemy@free.fr> wrote:
>>>> Hi,
>>>>
>>>> I reworked on Java 5 Annotations for Plugins proposal started a while ago:
[1]
>>>>
>>>> Before going deeper into code, I'd like to have some review of the proposed
>>>> form of the tool. Any comment is welcome.
>>>>
>>>> Regards,
>>>>
>>>> Hervé
>>>>
>>>>
>>>> [1]
>>>> https://cwiki.apache.org/confluence/display/MAVEN/Java+5+Annotations+for+Plugins
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: dev-help@maven.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Olivier Lamy
>> Talend : http://talend.com
>> http://twitter.com/olamy | http://linkedin.com/in/olamy
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>> For additional commands, e-mail: dev-help@maven.apache.org
>>
>>
>

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


Mime
View raw message