We have implemented a Java 5 annotation for configuration parameters
(PullParameter) in the Android Maven Plugin that might be worth looking
at. We are still phasing them out across the system but a good place to
look at the usage is the ProguardMojo

https://github.com/jayway/maven-android-plugin/blob/master/src/main/java/com/jayway/maven/plugins/android/phase04processclasses/ProguardMojo.java

Manfred

On Fri, April 27, 2012 9:26 am, Robert Scholte wrote:
> +100
>
> I've had a talk about this with Simone this month.
> He'd done some investigation already.
> I think there are two separate steps to be taken.
> 1. Generate the plugin.xml based on both annotations and doclets
> 2. Extend Maven Core to understand Mojo Annotations as well
>
> The first one would already be a huge improvement for all mojo-devs.
>
> -Robert
>
> Op Fri, 27 Apr 2012 16:36:57 +0200 schreef Olivier Lamy
> <[email protected]>:
>
>> Hi,
>> I'd like to work on 1.5 Annotations for Mojos.
>> Hervé started documentation here:
>> https://cwiki.apache.org/confluence/display/MAVEN/Java+5+Annotations+for+Plugins
>>
>> The Stephen's idea for named without Mojo prefix looks fine (at least
>> for me). But I would prefer to not implement (yet) the other idea with
>>  synthetic bridging classes.
>>
>> I can start the job next week (probably in a branch).
>>
>> Comments ?
>>
>> Thanks,
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to