I'm using the GMAven plugin to create Java stubs which successfully compiles my project (Java code that references Groovy).
After the stubs have generated I create an Eclipse project (mvn eclipse:eclipse) but the stubs are included on the classpath so rather than my Groovy getting executed (when debugging in Eclipse) the Java stubs are as they are included in the project.
Is there any way to either remove the stubs as a part of the build process or get Eclipse to ignore them? I'm not having any luck with "sourceExcludes" on the maven-eclipse-plugin.
Thanks for any insight.