groovy-eclipse-maven-test error on mvn clean compile

groovy-eclipse-maven-test error on mvn clean compile

Hi,

I'm trying the groovy-eclipse-maven compiler plugin for the first time tonight and I get something strange.

First, I get things from svn :

[marcpa@moliere-wifi groovy-eclipse-maven-learning]$ svn co https://svn.codehaus.org/groovy/eclipse/trunk/extrasA extras/groovy-eclipse-compiler
A extras/groovy-eclipse-compiler/.classpath
A extras/groovy-eclipse-compiler/.project
A extras/groovy-eclipse-compiler/target
A extras/groovy-eclipse-compiler/target/maven-archiver
A extras/groovy-eclipse-compiler/src
A extras/groovy-eclipse-compiler/src/main
A extras/groovy-eclipse-compiler/src/main/java
A extras/groovy-eclipse-compiler/src/main/java/org
A extras/groovy-eclipse-compiler/src/main/java/org/codehaus
A extras/groovy-eclipse-compiler/src/main/java/org/codehaus/groovy
A extras/groovy-eclipse-compiler/src/main/java/org/codehaus/groovy/eclipse
A extras/groovy-eclipse-compiler/src/main/java/org/codehaus/groovy/eclipse/compiler
A extras/groovy-eclipse-compiler/src/main/java/org/codehaus/groovy/eclipse/compiler/GroovyEclipseCompiler.java
A extras/groovy-eclipse-compiler/src/main/resources
A extras/groovy-eclipse-compiler/src/main/resources/META-INF
A extras/groovy-eclipse-compiler/src/main/resources/META-INF/plexus
A extras/groovy-eclipse-compiler/src/main/resources/META-INF/plexus/components.xml
A extras/groovy-eclipse-compiler/pom.xml
A extras/groovy-eclipse-compiler/.settings
A extras/groovy-eclipse-compiler/.settings/org.eclipse.jdt.core.prefs
A extras/groovy-eclipse-compiler/.settings/org.maven.ide.eclipse.prefs
A extras/Feature org.codehaus.groovy.m2eclipse
A extras/Feature org.codehaus.groovy.m2eclipse/.project
A extras/Feature org.codehaus.groovy.m2eclipse/license.html
A extras/Feature org.codehaus.groovy.m2eclipse/feature.properties
A extras/Feature org.codehaus.groovy.m2eclipse/sourceTemplateFeature
A extras/Feature org.codehaus.groovy.m2eclipse/sourceTemplateFeature/license.html
A extras/Feature org.codehaus.groovy.m2eclipse/sourceTemplateFeature/feature.properties
A extras/Feature org.codehaus.groovy.m2eclipse/build.properties
A extras/Feature org.codehaus.groovy.m2eclipse/feature.xml
A extras/Feature org.codehaus.groovy.m2eclipse/category.xml
A extras/org.codehaus.groovy.m2eclipse
A extras/org.codehaus.groovy.m2eclipse/.classpath
A extras/org.codehaus.groovy.m2eclipse/META-INF
A extras/org.codehaus.groovy.m2eclipse/META-INF/MANIFEST.MF
A extras/org.codehaus.groovy.m2eclipse/.project
A extras/org.codehaus.groovy.m2eclipse/src
A extras/org.codehaus.groovy.m2eclipse/src/org
A extras/org.codehaus.groovy.m2eclipse/src/org/codehaus
A extras/org.codehaus.groovy.m2eclipse/src/org/codehaus/groovy
A extras/org.codehaus.groovy.m2eclipse/src/org/codehaus/groovy/m2eclipse
A extras/org.codehaus.groovy.m2eclipse/src/org/codehaus/groovy/m2eclipse/GroovyProjectConfigurator.java
A extras/org.codehaus.groovy.m2eclipse/src/org/codehaus/groovy/m2eclipse/Activator.java
A extras/org.codehaus.groovy.m2eclipse/build.properties
A extras/org.codehaus.groovy.m2eclipse/plugin.xml
A extras/org.codehaus.groovy.m2eclipse/.settings
A extras/org.codehaus.groovy.m2eclipse/.settings/org.eclipse.jdt.core.prefs
A extras/groovy-eclipse-batch-builder
A extras/groovy-eclipse-batch-builder/build-maven.xml
A extras/groovy-eclipse-batch-builder/.project
A extras/groovy-eclipse-batch-builder/build.properties
A extras/groovy-eclipse-batch-builder/pom.xml
A extras/groovy-eclipse-batch-builder/build-setup.xml
A extras/groovy-eclipse-batch-builder/bootstrap
A extras/groovy-eclipse-batch-builder/bootstrap/maven-ant-tasks-2.1.3.jar
A extras/groovy-eclipse-batch-builder/build.xml
A extras/groovy-eclipse-maven-tests
A extras/groovy-eclipse-maven-tests/.classpath
A extras/groovy-eclipse-maven-tests/.project
A extras/groovy-eclipse-maven-tests/target
A extras/groovy-eclipse-maven-tests/target/surefire-reports
A extras/groovy-eclipse-maven-tests/target/surefire-reports/TEST-org.codehaus.groovy.eclipse.maven.testing.ExampleTest.xml
A extras/groovy-eclipse-maven-tests/target/surefire-reports/org.codehaus.groovy.eclipse.maven.testing.ExampleTest.txt
A extras/groovy-eclipse-maven-tests/target/surefire-reports/TEST-org.codehaus.groovy.eclipse.maven.testing.HelperTest.xml
A extras/groovy-eclipse-maven-tests/target/surefire-reports/org.codehaus.groovy.eclipse.maven.testing.HelperTest.txt
A extras/groovy-eclipse-maven-tests/target/test-classes
A extras/groovy-eclipse-maven-tests/target/test-classes/org
A extras/groovy-eclipse-maven-tests/target/test-classes/org/codehaus
A extras/groovy-eclipse-maven-tests/target/test-classes/org/codehaus/groovy
A extras/groovy-eclipse-maven-tests/target/test-classes/org/codehaus/groovy/eclipse
A extras/groovy-eclipse-maven-tests/target/test-classes/org/codehaus/groovy/eclipse/maven
A extras/groovy-eclipse-maven-tests/target/test-classes/org/codehaus/groovy/eclipse/maven/testing
A extras/groovy-eclipse-maven-tests/target/test-classes/org/codehaus/groovy/eclipse/maven/testing/ExampleTest.class
A extras/groovy-eclipse-maven-tests/target/test-classes/org/codehaus/groovy/eclipse/maven/testing/HelperTest.class
A extras/groovy-eclipse-maven-tests/target/classes
A extras/groovy-eclipse-maven-tests/target/classes/org
A extras/groovy-eclipse-maven-tests/target/classes/org/codehaus
A extras/groovy-eclipse-maven-tests/target/classes/org/codehaus/groovy
A extras/groovy-eclipse-maven-tests/target/classes/org/codehaus/groovy/eclipse
A extras/groovy-eclipse-maven-tests/target/classes/org/codehaus/groovy/eclipse/maven
A extras/groovy-eclipse-maven-tests/target/classes/org/codehaus/groovy/eclipse/maven/testing
A extras/groovy-eclipse-maven-tests/target/classes/org/codehaus/groovy/eclipse/maven/testing/Example.class
A extras/groovy-eclipse-maven-tests/target/classes/org/codehaus/groovy/eclipse/maven/testing/Helper.class
A extras/groovy-eclipse-maven-tests/target/classes/org/codehaus/groovy/eclipse/maven/testing/JavaClass.class
A extras/groovy-eclipse-maven-tests/target/mvn-eclipse-cache.properties
A extras/groovy-eclipse-maven-tests/src
A extras/groovy-eclipse-maven-tests/src/test
A extras/groovy-eclipse-maven-tests/src/test/java
A extras/groovy-eclipse-maven-tests/src/test/java/org
A extras/groovy-eclipse-maven-tests/src/test/java/org/codehaus
A extras/groovy-eclipse-maven-tests/src/test/java/org/codehaus/groovy
A extras/groovy-eclipse-maven-tests/src/test/java/org/codehaus/groovy/eclipse
A extras/groovy-eclipse-maven-tests/src/test/java/org/codehaus/groovy/eclipse/maven
A extras/groovy-eclipse-maven-tests/src/test/java/org/codehaus/groovy/eclipse/maven/testing
A extras/groovy-eclipse-maven-tests/src/test/java/org/codehaus/groovy/eclipse/maven/testing/ExampleTest.groovy
A extras/groovy-eclipse-maven-tests/src/test/java/org/codehaus/groovy/eclipse/maven/testing/HelperTest.java
A extras/groovy-eclipse-maven-tests/src/main
A extras/groovy-eclipse-maven-tests/src/main/java
A extras/groovy-eclipse-maven-tests/src/main/java/org
A extras/groovy-eclipse-maven-tests/src/main/java/org/codehaus
A extras/groovy-eclipse-maven-tests/src/main/java/org/codehaus/groovy
A extras/groovy-eclipse-maven-tests/src/main/java/org/codehaus/groovy/eclipse
A extras/groovy-eclipse-maven-tests/src/main/java/org/codehaus/groovy/eclipse/maven
A extras/groovy-eclipse-maven-tests/src/main/java/org/codehaus/groovy/eclipse/maven/testing
A extras/groovy-eclipse-maven-tests/src/main/java/org/codehaus/groovy/eclipse/maven/testing/Helper.groovy
A extras/groovy-eclipse-maven-tests/src/main/groovy
A extras/groovy-eclipse-maven-tests/src/main/groovy/org
A extras/groovy-eclipse-maven-tests/src/main/groovy/org/codehaus
A extras/groovy-eclipse-maven-tests/src/main/groovy/org/codehaus/groovy
A extras/groovy-eclipse-maven-tests/src/main/groovy/org/codehaus/groovy/eclipse
A extras/groovy-eclipse-maven-tests/src/main/groovy/org/codehaus/groovy/eclipse/maven
A extras/groovy-eclipse-maven-tests/src/main/groovy/org/codehaus/groovy/eclipse/maven/testing
A extras/groovy-eclipse-maven-tests/src/main/groovy/org/codehaus/groovy/eclipse/maven/testing/Example.groovy
A extras/groovy-eclipse-maven-tests/src/main/groovy/org/codehaus/groovy/eclipse/maven/testing/JavaClass.java
A extras/groovy-eclipse-maven-tests/pom.xml
A extras/groovy-eclipse-maven-tests/.settings
A extras/groovy-eclipse-maven-tests/.settings/org.eclipse.jdt.core.prefs
A extras/groovy-eclipse-maven-tests/.settings/org.maven.ide.eclipse.prefs
Checked out revision 22212.

[marcpa@moliere-wifi groovy-eclipse-maven-tests]$ mvn clean compile
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Groovy-Eclipse and Maven can play nicely together!
[INFO] task-segment: [clean, compile]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-clean}]
[INFO] Deleting directory /Users/marcpa/Code/groovy-eclipse-maven-learning/extras/groovy-eclipse-maven-tests/target
[INFO] [build-helper:add-source {execution: add-source}]
[INFO] Source directory: /Users/marcpa/Code/groovy-eclipse-maven-learning/extras/groovy-eclipse-maven-tests/src/main/groovy added.
[INFO] Source directory: /Users/marcpa/Code/groovy-eclipse-maven-learning/extras/groovy-eclipse-maven-tests/src/test/groovy added.
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/marcpa/Code/groovy-eclipse-maven-learning/extras/groovy-eclipse-maven-tests/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
[INFO] Compiling 3 source files to /Users/marcpa/Code/groovy-eclipse-maven-learning/extras/groovy-eclipse-maven-tests/target/classes
java.lang.RuntimeException: Transform groovy.grape.GrabAnnotationTransformation@7d7082d8 cannot be run
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:418)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:956)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:587)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:563)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:540)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:168)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:429)
at org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44)
at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:769)
at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:389)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:475)
at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:3747)
at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1666)
at org.codehaus.groovy.eclipse.compiler.GroovyEclipseCompiler.compile(GroovyEclipseCompiler.java:280)
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.NoClassDefFoundError: org/codehaus/groovy/eclipse/GroovyLogManager
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:404)
... 34 more
Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.eclipse.GroovyLogManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 35 more
org.codehaus.groovy.control.messages.ExceptionMessage@659e733e
/Users/marcpa/Code/groovy-eclipse-maven-learning/extras/groovy-eclipse-maven-tests/src/main/java/org/codehaus/groovy/eclipse/maven/testing/Helper.groovy: 0 General error during conversion: Transform groovy.grape.GrabAnnotationTransformation@7d7082d8 cannot be run

org.codehaus.groovy.GroovyException: Transform groovy.grape.GrabAnnotationTransformation@7d7082d8 cannot be run
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:420)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:956)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:587)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:563)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:540)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:168)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:429)
at org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44)
at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:769)
at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:389)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:475)
at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:3747)
at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1666)
at org.codehaus.groovy.eclipse.compiler.GroovyEclipseCompiler.compile(GroovyEclipseCompiler.java:280)
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.NoClassDefFoundError: org/codehaus/groovy/eclipse/GroovyLogManager
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:404)
... 34 more
Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.eclipse.GroovyLogManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 35 more

java.lang.RuntimeException: Transform org.codehaus.groovy.ast.builder.AstBuilderTransformation@5a0eddac cannot be run
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:418)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:956)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:587)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:563)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:540)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:168)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitDeclaration.java:1880)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:816)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.NoClassDefFoundError: org/codehaus/groovy/eclipse/GroovyLogManager
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:404)
... 9 more
org.codehaus.groovy.control.messages.ExceptionMessage@5fb7565
/Users/marcpa/Code/groovy-eclipse-maven-learning/extras/groovy-eclipse-maven-tests/src/main/java/org/codehaus/groovy/eclipse/maven/testing/Helper.groovy: 0 General error during semantic analysis: Transform org.codehaus.groovy.ast.builder.AstBuilderTransformation@5a0eddac cannot be run

org.codehaus.groovy.GroovyException: Transform org.codehaus.groovy.ast.builder.AstBuilderTransformation@5a0eddac cannot be run
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:420)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:956)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:587)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:563)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:540)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:168)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitDeclaration.java:1880)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:816)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.NoClassDefFoundError: org/codehaus/groovy/eclipse/GroovyLogManager
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:404)
... 9 more

----------
1. ERROR in /Users/marcpa/Code/groovy-eclipse-maven-learning/extras/groovy-eclipse-maven-tests/src/main/java/org/codehaus/groovy/eclipse/maven/testing/Helper.groovy (at line 0)
/*******************************************************************************
^
General error during conversion: Transform groovy.grape.GrabAnnotationTransformation@7d7082d8 cannot be run

org.codehaus.groovy.GroovyException: Transform groovy.grape.GrabAnnotationTransformation@7d7082d8 cannot be run
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:420)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:956)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:587)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:563)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:540)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:168)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:429)
at org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44)
at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:769)
at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:389)
at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:475)
at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:3747)
at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1666)
at org.codehaus.groovy.eclipse.compiler.GroovyEclipseCompiler.compile(GroovyEclipseCompiler.java:280)
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: java.lang.NoClassDefFoundError: org/codehaus/groovy/eclipse/GroovyLogManager
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:404)
... 34 more
Caused by: java.lang.ClassNotFoundException: org.codehaus.groovy.eclipse.GroovyLogManager
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at org.codehaus.classworlds.RealmClassLoader.loadClassDirect(RealmClassLoader.java:195)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:255)
at org.codehaus.classworlds.DefaultClassRealm.loadClass(DefaultClassRealm.java:274)
at org.codehaus.classworlds.RealmClassLoader.loadClass(RealmClassLoader.java:214)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
... 35 more

----------
2. ERROR in /Users/marcpa/Code/groovy-eclipse-maven-learning/extras/groovy-eclipse-maven-tests/src/main/java/org/codehaus/groovy/eclipse/maven/testing/Helper.groovy (at line 0)
/*******************************************************************************
^
General error during semantic analysis: Transform org.codehaus.groovy.ast.builder.AstBuilderTransformation@5a0eddac cannot be run

org.codehaus.groovy.GroovyException: Transform org.codehaus.groovy.ast.builder.AstBuilderTransformation@5a0eddac cannot be run
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:420)
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:956)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:587)
at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:563)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:540)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:168)
at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.resolve(GroovyCompilationUnitDeclaration.java:1880)
at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:816)
at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.NoClassDefFoundError: org/codehaus/groovy/eclipse/GroovyLogManager
at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:404)
... 9 more

Re: groovy-eclipse-maven-test error on mvn clean compile

I confirm, that fixed my problem.

Thanks again Andrew.
Marc.

Le 2011-05-20 à 14:59, Andrew Eisenberg a écrit :

> There is now a new snapshot available. This one is working for me.
> Please let me know if this fixes your problem.
>
> On Fri, May 20, 2011 at 7:40 PM, Marcpa <[hidden email]> wrote:
>> Alright, I'll try it then. Thanks for the quick answer !
>> Marc
>>
>> Le 2011-05-20 à 11:21, Andrew Eisenberg <[hidden email]> a écrit :
>>
>>> Yes. The current snapshot of the compiler is missing a few class
>>> files. I'll fix this today and put up a new snapshot. I'm hoping to
>>> do a proper release before the 2.5.1 release of Groovy-Eclipse.
>>>
>>> On Fri, May 20, 2011 at 5:23 AM, Marc Paquette <[hidden email]> wrote:
>>>> Hi,
>>>>
>>>> I'm trying the groovy-eclipse-maven compiler plugin for the first time tonight and I get something strange.
>>>>

[ ... removed extra details ... ]

>>>>
>>>> [INFO] Using Groovy-Eclipse compiler to compile both Java and Groovy files
>>>> [INFO] Compiling 3 source files to /Users/marcpa/Code/groovy-eclipse-maven-learning/extras/groovy-eclipse-maven-tests/target/classes
>>>> java.lang.RuntimeException: Transform groovy.grape.GrabAnnotationTransformation@7d7082d8 cannot be run
>>>> at org.codehaus.groovy.transform.ASTTransformationVisitor$3.call(ASTTransformationVisitor.java:418)
>>>> at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:956)
>>>> at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:587)
>>>> at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:563)
>>>> at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:540)
>>>> at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyCompilationUnitDeclaration.processToPhase(GroovyCompilationUnitDeclaration.java:168)
>>>> at org.codehaus.jdt.groovy.internal.compiler.ast.GroovyParser.dietParse(GroovyParser.java:429)
>>>> at org.codehaus.jdt.groovy.integration.internal.MultiplexingParser.dietParse(MultiplexingParser.java:44)
>>>> at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:769)
>>>> at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:389)
>>>> at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:475)
>>>> at org.eclipse.jdt.internal.compiler.batch.Main.performCompilation(Main.java:3747)
>>>> at org.eclipse.jdt.internal.compiler.batch.Main.compile(Main.java:1666)
>>>> at org.codehaus.groovy.eclipse.compiler.GroovyEclipseCompiler.compile(GroovyEclipseCompiler.java:280)
>>>> at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:605)
>>>> at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128)
>>>> at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
>>>> at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
>>>> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>>>> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>>>> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>>>> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)