I'm sure this topic has come up before, but is there any current support for
Groovy 1.5 using the Maven2 plugin.  I'm trying to develop a Groovy project
with Maven2 and TestNG, so when it tries to generate the test stubs it fails
because of the version of the groovy compiler:

java.lang.Error: Generics not supported
        at org.codehaus.mojo.groovy.runtime.v11.QDoxStubTranslator.classDef(
QDoxStubTranslator.java:410)
        at org.codehaus.mojo.groovy.runtime.v11.QDoxStubTranslator.process(
QDoxStubTranslator.java:284)
        at org.codehaus.mojo.groovy.runtime.v11.QDoxStubTranslator.parse(
QDoxStubTranslator.java:233)
        at org.codehaus.mojo.groovy.runtime.v11.QDoxStubTranslator.translate
(QDoxStubTranslator.java:101)
        at org.codehaus.mojo.groovy.runtime.v11.QDoxStubTranslator.write(
QDoxStubTranslator.java:112)
        at
org.codehaus.mojo.groovy.runtime.v11.StubCompilerFeature$StubCompilerImpl.compile
(StubCompilerFeature.java:77
)
        at
org.codehaus.mojo.groovy.stubgen.AbstractGenerateStubsMojo.compile(
AbstractGenerateStubsMojo.java:97)
        at
org.codehaus.mojo.groovy.stubgen.AbstractGenerateStubsMojo.process(
AbstractGenerateStubsMojo.java:68)
        at org.codehaus.mojo.groovy.ComponentMojoSupport.doExecute(
ComponentMojoSupport.java:68)
        at org.codehaus.mojo.groovy.MojoSupport.execute(MojoSupport.java:71)

Any help would be greatly appreciated.

Thanks,
-BA

Reply via email to