Hi,

I am using the retrotranslator:translate-war plug-in. I am trying to upgrade
from alpha-2 to alpha-4. After adding mvnrepository.com as a Maven repo I
manage to resolve all dependencies. But now when I run build my project I
get the error show at the end of this e-mail. I am using Maven 2.0.7 with
jdk 1.5. 

I searched the mailing list for any similar issue but could not find
anything regarding the dependency of retrotranslator on Groovy so I hope
anyone can help me.

Any pointer would be greatly appreciated.
Thanks,

Florian
ERROR:

[INFO] [retrotranslator:translate-war {execution: default}]
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] [Ljava.util.ArrayList;
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.ClassCastException: [Ljava.util.ArrayList;
        at groovy.lang.MetaClassImpl$2.invoke(MetaClassImpl.java:779)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
        at
org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHel
per.java:766)
        at
org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.
java:754)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(Scrip
tBytecodeAdapter.java:170)
        at
org.codehaus.mojo.retrotranslator.TranslateWarMojo.configureRetrotran
slator(TranslateWarMojo.groovy:116)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurre
ntN(ScriptBytecodeAdapter.java:78)
        at
org.codehaus.mojo.retrotranslator.RetrotranslateMojoSupport.execute(R
etrotranslateMojoSupport.groovy:154)
        at
org.codehaus.mojo.retrotranslator.TranslateWarMojo.super$4$execute(Tr
anslateWarMojo.groovy)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at
org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:
86)
        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper
N(ScriptBytecodeAdapter.java:131)
        at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnSuper
0(ScriptBytecodeAdapter.java:154)
        at
org.codehaus.mojo.retrotranslator.TranslateWarMojo.execute(TranslateW
arMojo.groovy:88)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:443)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:539)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:480)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:459)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:311)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:278)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:143)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        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)
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 18 seconds
[INFO] Finished at: Mon Oct 20 12:11:07 EDT 2008
[INFO] Final Memory: 18M/33M
[INFO]
------------------------------------------------------------------------
-- 
View this message in context: 
http://www.nabble.com/retrotranslator%3Atranslate-war%3A-issue-with-groovy-tp20073314p20073314.html
Sent from the mojo - user mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email


Reply via email to