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