We made some progress on the original issue
GROOVY-4118 and so we closed it for the 1.7.3 release. This issue captures remaining work, primarily some additional test cases.
Looking at org.codehaus.groovy.tools.javac.JavaStubGenerator (http://goo.gl/ob23) I see it doesn't generate annotations that are originally available in Groovy sources.
I think it causes those issues later:
- http://jira.codehaus.org/browse/GMAVEN-68 - "GMaven: generateStubs generates stubs without original Javadocs or annotations"
- http://jira.codehaus.org/browse/GMAVEN-4 - "GMaven: Stub generation should generate annotations"
I'm trying to use AnnoMojo annotations (http://goo.gl/rbRw) when developing my MOJOs in Groovy.
GMaven's "generateStubs" goal doesn't produce Java sources with original AnnoMojo annotations