Hi,

I am trying to write a mojo in Groovy.  According to the mojo api docs
[1] this should be possible (it only meantions BeanShell explicitly). 
However when I package my mojo the resulting plugin.xml is incorrect
showing now mojos.  Consequently when I try and run the plugin a
NullPointer is thrown.  I have tried writing my own plugin.xml and
manually placing it in src/main/resources/META-INF/maven/ but when
package is run it os overridden by the Maven generated one.  I am
assuming Maven reads the annotations from *.java source files and
ignoring my *.groovy files (which I am compiling down to *.class before
packaging).

Has anyone written a mojo in a language other than Java, or is there any
documentation on doing so?

Thanks,
Martin.

[1]http://maven.apache.org/developers/mojo-api-specification.html

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to