Just to clarify, this is the first project you ever tried with flexmojos and
it failed or you used to run flexmojos 3.x and was not able to get 4.x
working?

VELO

On Sun, Sep 26, 2010 at 7:48 PM, Michael Schuetz <[email protected]
> wrote:

> Hi to all,
>
> I am not able to successful build flexmojo 4.0-alpha-5 and Flex SDK
> 4.5.0.17077 with Maven3.beta2.
>
> stack trace:
> ###
> ..\src\main\flex\index.mxml: Error: Unable to locate specified base
> class 'mx.core.Application' for component class 'index'.
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven-
> plugin:4.0-alpha-5:compile-swf (default-compile-swf) on project jm-
> flex: Got 1 errors building project, check logs -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute goal org.sonatype.flexmojos:flexmojos-maven-plugin:4.0-
> alpha-5:compile-swf (default-compile-swf) on project jm-flex: Got 1
> errors building project, check logs
>        at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
> 148)
>        at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
> 87)
>        at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
> 79)
>        at
>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:
> 86)
>        at
>
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:
> 58)
>        at
>
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:
> 183)
>        at
>
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:
> 161)
>        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
> 252)
>        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:
> 100)
>        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:443)
>        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:166)
>        at org.apache.maven.cli.MavenCli.main(MavenCli.java:130)
>        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.MojoFailureException: Got 1 errors
> building project, check logs
>        at
>
> org.sonatype.flexmojos.plugin.AbstractMavenMojo.checkResult(AbstractMavenMojo.java:
> 260)
>        at
>
> org.sonatype.flexmojos.plugin.compiler.AbstractFlexCompilerMojo.executeCompiler(AbstractFlexCompilerMojo.java:
> 1497)
>        at
>
> org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute_aroundBody0(MxmlcMojo.java:
> 141)
>        at
>
> org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute_aroundBody1$advice(MxmlcMojo.java:
> 36)
>        at
>
> org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute_aroundBody2(MxmlcMojo.java:
> 130)
>        at
>
> org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute_aroundBody3$advice(MxmlcMojo.java:
> 17)
>        at
> org.sonatype.flexmojos.plugin.compiler.MxmlcMojo.execute(MxmlcMojo.java:
> 1)
>        at
>
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:
> 110)
>        at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:
> 144)
> ####
>
> Additionally, I do get these strange warnings:
> [WARNING] Missing POM for com.adobe.flex.compiler:adt:jar:4.1.0.16076
> [WARNING] Missing POM for com.adobe.flex:compiler:pom:4.1.0.16076
> [WARNING] Missing POM for com.adobe.flex.compiler:mxmlc:jar:
> 4.1.0.16076
> [WARNING] Missing POM for com.adobe.flex.compiler:digest:jar:
> 4.1.0.16076
> [WARNING] Missing POM for com.adobe.flex.compiler:optimizer:jar:
> 4.1.0.16076
> [WARNING] Missing POM for com.adobe.flex.compiler:asdoc:jar:
> 4.1.0.16076
> [WARNING] Missing POM for com.adobe.flex.compiler:swcdepends:jar:
> 4.1.0.16076
>
>
> What am I doing wrong? Any help appreciated.
>
> Thanks and regards
> Michael
>
> --
> 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]<flex-mojos%[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