Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2
-
Fix Version/s: 1.3
-
Component/s: stub generation
-
Labels:None
-
Environment:Windows XP, Maven 2.0.10
-
Number of attachments :
Description
There are problems with Gmaven when using Groovy 1.7 with respect to stub generation, in particular:
1. Groovy alias import (import X as Y) is not working
2. Referencing a class A, which exists in two different packages, where items from the two packages are imported, produces a java compile error of the stubs (apparently too much is imported in the stubs, so java sees both definitions of A)
The problem can be reproduced using the example project attached. Just unpack and type 'mvn install' from within the folder.
Issue Links
- relates to
-
GROOVY-4118
JavaStubGenerator doesn't generate annotations available in Groovy code
-
Example project showing the issue