ok, I didn't know this one
IIUC, it's based on groovy-maven-plugin, which does woodoo to transform Groovy 
to java plugin without maven-plugin-plugin being aware of it

If you open a Jira issue with a testcase working with maven-plugin-plugin 2.4, 
I can have a look to find why it stops working with 3.1.

Regards,

Hervé

Le jeudi 23 août 2012 13:45:14 Manfred Moser a écrit :
> It at least was possible to write a plugin in Groovy without annotations
> though. See
> 
> http://www.sonatype.com/books/mcookbook/reference/writing-plugins-alternativ
> e-sect-writing-groovy.html
> 
> Not sure what happened..
> 
> manfred
> 
> On Thu, August 23, 2012 1:18 pm, Hervé BOUTEMY wrote:
> > Groovy isn't actually supported: see maven-script part of
> > http://maven.apache.org/plugin-tools/
> > 
> > There isn't even anybody who opened a Jira issue about this.
> > 
> > Regards,
> > 
> > Hervé
> > 
> > Le mercredi 22 août 2012 14:07:39 Ben Tatham a écrit :
> >> I am trying to use java-annotations (not javadoc) on a Mojo written in
> >> groovy, as per [1].  (I need them so I can subclass the mojo in other,
> >> multiple plugins, as annotations are, in theory, much easier than the
> >> Maven
> >> 2 ways of doing plugin extension).
> >> 
> >> However, the maven-plugin-plugin 3.1 does not find any of the mojo
> >> definitions when building.
> >> 
> >> I have tried various versions of gmaven and groovy-runtime with
> >> different
> >> failure conditions, but none of which work.
> >> 
> >> Has anyone else tried this before?
> >> 
> >> Thanks,
> >> Ben
> >> 
> >> [1]
> >> http://maven.apache.org/plugin-tools/maven-plugin-plugin/examples/using-a
> >> nno tations.html
> > 
> > ---------------------------------------------------------------------
> > 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]

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

Reply via email to