Go flexmojos 4, otherwise you won't be able to use flex 4.5

Sent from Android

Em 14/02/2011 07:02, "Carsten Schlipf" <[email protected]>escreveu:

Hi Velo and Group,

I am trying to upgrade my maven build to use the Flex SDK 4.5.0.18623.
However I am getting this:

[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] org.apache.maven.artifact.handler.DefaultArtifactHandler cannot
be cast to org.apache.maven.artifact.handler.ArtifactHandler
[INFO]
------------------------------------------------------------------------
[INFO] Trace
java.lang.ClassCastException:
org.apache.maven.artifact.handler.DefaultArtifactHandler cannot be
cast to org.apache.maven.artifact.handler.ArtifactHandler
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.findExtensions(DefaultLifecycleExecutor.java:
225)
       at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:
178)
       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)


As soon as I change the SDK version back to the previous version,
4.5.0.17855, it works again. Does anybody have an idea what went wrong
with the switch? Do I have to change my dependencies somehow?

Best regards,
Carsten

--
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

-- 
You received this message because you are subscribed to the Google
Groups "Flex Mojos" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex-mojos

http://flexmojos.sonatype.org/

Reply via email to