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

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Marc Paquette
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/extras
A    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.

Then if I do "mvn compile" or "mvn test" all is ok:

[marcpa@moliere-wifi groovy-eclipse-maven-tests]$ mvn 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: [compile]
[INFO] ------------------------------------------------------------------------
[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] Nothing to compile - all classes are up to date
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 second
[INFO] Finished at: Thu May 19 23:12:12 EDT 2011
[INFO] Final Memory: 11M/81M
[INFO] ------------------------------------------------------------------------

However, if I do "mvn clean compile", then I get errors :

[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

----------
3. 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)
        /*******************************************************************************
        ^
Internal compiler error: java.lang.NoSuchMethodError: org.codehaus.groovy.classgen.AsmClassGenerator.access$0(Lorg/codehaus/groovy/classgen/AsmClassGenerator;)Lorg/objectweb/asm/MethodVisitor; at org.codehaus.groovy.classgen.AsmClassGenerator$MyMethodAdapter.<init>(AsmClassGenerator.java:4460)
----------
[FATAL ERROR] org.apache.maven.plugin.CompilerMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-compiler-plugin:2.3.1]
urls[0] = file:/Users/marcpa/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/2.3.1/maven-compiler-plugin-2.3.1.jar
urls[1] = file:/Users/marcpa/.m2/repository/org/codehaus/groovy/groovy-eclipse-compiler/0.5.1-SNAPSHOT/groovy-eclipse-compiler-0.5.1-SNAPSHOT.jar
urls[2] = file:/Users/marcpa/.m2/repository/org/codehaus/groovy/groovy-eclipse-batch/0.5.1-SNAPSHOT/groovy-eclipse-batch-0.5.1-SNAPSHOT.jar
urls[3] = file:/Users/marcpa/.m2/repository/org/codehaus/plexus/plexus-compiler-api/1.8/plexus-compiler-api-1.8.jar
urls[4] = file:/Users/marcpa/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
urls[5] = file:/Users/marcpa/.m2/repository/org/codehaus/plexus/plexus-compiler-manager/1.8/plexus-compiler-manager-1.8.jar
urls[6] = file:/Users/marcpa/.m2/repository/org/codehaus/plexus/plexus-compiler-javac/1.8/plexus-compiler-javac-1.8.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/usr/local/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org.codehaus.groovy.classgen.AsmClassGenerator.access$0(Lorg/codehaus/groovy/classgen/AsmClassGenerator;)Lorg/objectweb/asm/MethodVisitor;
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.NoSuchMethodError: org.codehaus.groovy.classgen.AsmClassGenerator.access$0(Lorg/codehaus/groovy/classgen/AsmClassGenerator;)Lorg/objectweb/asm/MethodVisitor;
        at org.codehaus.groovy.classgen.AsmClassGenerator$MyMethodAdapter.<init>(AsmClassGenerator.java:4460)
        at org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructorOrMethod(AsmClassGenerator.java:583)
        at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructor(ClassCodeVisitorSupport.java:120)
        at org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructor(AsmClassGenerator.java:688)
        at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1127)
        at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:51)
        at org.codehaus.groovy.classgen.AsmClassGenerator.visitClass(AsmClassGenerator.java:276)
        at org.codehaus.groovy.control.CompilationUnit$6.call(CompilationUnit.java:861)
        at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1147)
        at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:585)
        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.generateCode(GroovyCompilationUnitDeclaration.java:1444)
        at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:827)
        at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
        at java.lang.Thread.run(Thread.java:680)
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Thu May 19 23:12:35 EDT 2011
[INFO] Final Memory: 13M/81M
[INFO] ------------------------------------------------------------------------
[marcpa@moliere-wifi groovy-eclipse-maven-tests]$

Any ideas ?

Thanks in advance,
Marc Paquette


smime.p7s (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Andrew Eisenberg
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.
>
> First, I get things from svn :
>
> [marcpa@moliere-wifi groovy-eclipse-maven-learning]$ svn co https://svn.codehaus.org/groovy/eclipse/trunk/extras
> A    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.
>
> Then if I do "mvn compile" or "mvn test" all is ok:
>
> [marcpa@moliere-wifi groovy-eclipse-maven-tests]$ mvn 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: [compile]
> [INFO] ------------------------------------------------------------------------
> [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] Nothing to compile - all classes are up to date
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Thu May 19 23:12:12 EDT 2011
> [INFO] Final Memory: 11M/81M
> [INFO] ------------------------------------------------------------------------
>
> However, if I do "mvn clean compile", then I get errors :
>
> [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
>
> ----------
> 3. 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)
>        /*******************************************************************************
>        ^
> Internal compiler error: java.lang.NoSuchMethodError: org.codehaus.groovy.classgen.AsmClassGenerator.access$0(Lorg/codehaus/groovy/classgen/AsmClassGenerator;)Lorg/objectweb/asm/MethodVisitor; at org.codehaus.groovy.classgen.AsmClassGenerator$MyMethodAdapter.<init>(AsmClassGenerator.java:4460)
> ----------
> [FATAL ERROR] org.apache.maven.plugin.CompilerMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
> [FATAL ERROR] Plugin realm = app0.child-container[org.apache.maven.plugins:maven-compiler-plugin:2.3.1]
> urls[0] = file:/Users/marcpa/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/2.3.1/maven-compiler-plugin-2.3.1.jar
> urls[1] = file:/Users/marcpa/.m2/repository/org/codehaus/groovy/groovy-eclipse-compiler/0.5.1-SNAPSHOT/groovy-eclipse-compiler-0.5.1-SNAPSHOT.jar
> urls[2] = file:/Users/marcpa/.m2/repository/org/codehaus/groovy/groovy-eclipse-batch/0.5.1-SNAPSHOT/groovy-eclipse-batch-0.5.1-SNAPSHOT.jar
> urls[3] = file:/Users/marcpa/.m2/repository/org/codehaus/plexus/plexus-compiler-api/1.8/plexus-compiler-api-1.8.jar
> urls[4] = file:/Users/marcpa/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
> urls[5] = file:/Users/marcpa/.m2/repository/org/codehaus/plexus/plexus-compiler-manager/1.8/plexus-compiler-manager-1.8.jar
> urls[6] = file:/Users/marcpa/.m2/repository/org/codehaus/plexus/plexus-compiler-javac/1.8/plexus-compiler-javac-1.8.jar
> [FATAL ERROR] Container realm = plexus.core
> urls[0] = file:/usr/local/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
> [INFO] ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] org.codehaus.groovy.classgen.AsmClassGenerator.access$0(Lorg/codehaus/groovy/classgen/AsmClassGenerator;)Lorg/objectweb/asm/MethodVisitor;
> [INFO] ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NoSuchMethodError: org.codehaus.groovy.classgen.AsmClassGenerator.access$0(Lorg/codehaus/groovy/classgen/AsmClassGenerator;)Lorg/objectweb/asm/MethodVisitor;
>        at org.codehaus.groovy.classgen.AsmClassGenerator$MyMethodAdapter.<init>(AsmClassGenerator.java:4460)
>        at org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructorOrMethod(AsmClassGenerator.java:583)
>        at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitConstructor(ClassCodeVisitorSupport.java:120)
>        at org.codehaus.groovy.classgen.AsmClassGenerator.visitConstructor(AsmClassGenerator.java:688)
>        at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1127)
>        at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:51)
>        at org.codehaus.groovy.classgen.AsmClassGenerator.visitClass(AsmClassGenerator.java:276)
>        at org.codehaus.groovy.control.CompilationUnit$6.call(CompilationUnit.java:861)
>        at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1147)
>        at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:585)
>        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.generateCode(GroovyCompilationUnitDeclaration.java:1444)
>        at org.eclipse.jdt.internal.compiler.Compiler.process(Compiler.java:827)
>        at org.eclipse.jdt.internal.compiler.ProcessTaskManager.run(ProcessTaskManager.java:137)
>        at java.lang.Thread.run(Thread.java:680)
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 2 seconds
> [INFO] Finished at: Thu May 19 23:12:35 EDT 2011
> [INFO] Final Memory: 13M/81M
> [INFO] ------------------------------------------------------------------------
> [marcpa@moliere-wifi groovy-eclipse-maven-tests]$
>
> Any ideas ?
>
> Thanks in advance,
> Marc Paquette
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

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

Marc Paquette
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.
>>
>> First, I get things from svn :
>>
>> [marcpa@moliere-wifi groovy-eclipse-maven-learning]$ svn co https://svn.codehaus.org/groovy/eclipse/trunk/extras
>> A    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.
>>
>> Then if I do "mvn compile" or "mvn test" all is ok:
>>
>> [marcpa@moliere-wifi groovy-eclipse-maven-tests]$ mvn 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: [compile]
>> [INFO] ------------------------------------------------------------------------
>> [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] Nothing to compile - all classes are up to date
>> [INFO] ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESSFUL
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Total time: 1 second
>> [INFO] Finished at: Thu May 19 23:12:12 EDT 2011
>> [INFO] Final Memory: 11M/81M
>> [INFO] ------------------------------------------------------------------------
>>
>> However, if I do "mvn clean compile", then I get errors :
>>
>> [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)
>>  

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

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

Andrew Eisenberg
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.
>>>
>>> First, I get things from svn :
>>>
>>> [marcpa@moliere-wifi groovy-eclipse-maven-learning]$ svn co https://svn.codehaus.org/groovy/eclipse/trunk/extras
>>> A    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.
>>>
>>> Then if I do "mvn compile" or "mvn test" all is ok:
>>>
>>> [marcpa@moliere-wifi groovy-eclipse-maven-tests]$ mvn 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: [compile]
>>> [INFO] ------------------------------------------------------------------------
>>> [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] Nothing to compile - all classes are up to date
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] BUILD SUCCESSFUL
>>> [INFO] ------------------------------------------------------------------------
>>> [INFO] Total time: 1 second
>>> [INFO] Finished at: Thu May 19 23:12:12 EDT 2011
>>> [INFO] Final Memory: 11M/81M
>>> [INFO] ------------------------------------------------------------------------
>>>
>>> However, if I do "mvn clean compile", then I get errors :
>>>
>>> [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)
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

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

Marc Paquette
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)


smime.p7s (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

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

Andrew Eisenberg
Excellent.  Thanks for keeping me posted.  When the official release
is available, I'll let you know. The setup will likely be slightly
different.

On Sun, May 22, 2011 at 7:05 PM, Marc Paquette <[hidden email]> wrote:

> 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)
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email