Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.7.1
-
Fix Version/s: 1.7.3, 1.8-beta-1
-
Component/s: class generator
-
Labels:None
-
Number of attachments :
Description
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