It at least was possible to write a plugin in Groovy without annotations though. See
http://www.sonatype.com/books/mcookbook/reference/writing-plugins-alternative-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-anno >> 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]
