facebook

Flex mojos does not compile

  1. MyEclipse IDE
  2.  > 
  3. Maven for MyEclipse (Maven4MyEclipse)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #318476 Reply

    ibarash
    Member

    Hello,
    I have a problem with flex-mojos.

    In myeclipse it fails, but in a normal helios eclipse using m2e, it works just fine.
    If i build it, in myeclipse, without maven, everything works well, no red x’s at all.

    I ran: package -e -X and this is the output:

    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD FAILURE
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 16.625s
    [INFO] Finished at: Wed Jul 27 10:40:02 IDT 2011
    [INFO] Final Memory: 12M/63M
    [INFO] ------------------------------------------------------------------------
    [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.8:compile-swf (default-compile-swf) on project advisor-flex: Error compiling! -> [Help 1]
    org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:3.8:compile-swf (default-compile-swf) on project advisor-flex: Error compiling!
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:585)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:324)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:247)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:104)
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:427)
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:157)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:121)
        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.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    Caused by: org.apache.maven.plugin.MojoExecutionException: Error compiling!
        at org.sonatype.flexmojos.compiler.AbstractCompilerMojo.callCompiler(AbstractCompilerMojo.java:1141)
        at org.sonatype.flexmojos.compiler.AbstractCompilerMojo.run(AbstractCompilerMojo.java:2404)
        at org.sonatype.flexmojos.AbstractIrvinMojo.execute(AbstractIrvinMojo.java:155)
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:105)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:577)
        ... 14 more
    [ERROR] 
    [ERROR] 
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
    
    
    Attachments:
    You must be logged in to view attached files.
    #318500 Reply

    support-swapna
    Moderator

    ibarash ,

    Sorry that you are seeing this issue with MyEclipse.
    I have escalated it to a dev team member. They will get back to you.

    #318550 Reply

    Please send me some information about Your MyEclipse version and the version of Maven, which You can find under Preferences->Maven->Installations. Please send me also version of Maven from Your working installation of Eclipse. Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Flex mojos does not compile

You must be logged in to post in the forum log in