Thanks for quick response. I don't see any other error. Here is what I
got just before the compile error :

...
-metadata.localized-title Test Maven x-default
-verify-digests=true
-compiler.namespaces.namespace+=http://ns.adobe.com/mxml/2009,C:
\Documents and Settings\test\Ado
be Flash Builder 4\TestMaven\target\classes
\config-4.0.0.14159\mxml-2009-manifest.xml
-compiler.namespaces.namespace+=library://ns.adobe.com/flex/spark,C:
\Documents and Settings\test
\Adobe Flash Builder 4\TestMaven\target\classes
\config-4.0.0.14159\spark-manifest.xml
-compiler.namespaces.namespace+=library://ns.adobe.com/flex/mx,C:
\Documents and Settings\test\Ad
obe Flash Builder 4\TestMaven\target\classes\config-4.0.0.14159\mx-
manifest.xml
-compiler.namespaces.namespace+=http://www.adobe.com/2006/mxml,C:
\Documents and Settings\test\Ad
obe Flash Builder 4\TestMaven\target\classes\config-4.0.0.14159\mxml-
manifest.xml -static-link-runti
me-shared-libraries=false -load-config=
-metadata.language+=en_US
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error compiling!
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
compiling!
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:719)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifec
ycleExecutor.java:556)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.
java:535)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultL
ifecycleExecutor.java:387)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleE
xecutor.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: org.apache.maven.plugin.MojoExecutionException: Error
compiling!
        at
org.sonatype.flexmojos.compiler.AbstractCompilerMojo.callCompiler(AbstractCompilerMojo.ja
va:1141)
        at
org.sonatype.flexmojos.compiler.AbstractCompilerMojo.run(AbstractCompilerMojo.java:
2403)
        at
org.sonatype.flexmojos.AbstractIrvinMojo.execute(AbstractIrvinMojo.java:
155)
        at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:
490)
        at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor
.java:694)
        ... 17 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 23 seconds
[INFO] Finished at: Mon Sep 20 17:10:07 EDT 2010
[INFO] Final Memory: 31M/254M
[INFO]
------------------------------------------------------------------------

Thanks!


On Sep 20, 4:19 pm, Marvin Froeder <[email protected]> wrote:
> This is a pure flex output, basically flexcompiler reported you code doesn't
> compile.  There are more logs before that but, you did cut the logs on the
> first line after the actual problem cause.....  look careful to your logs,
> locate and fix the problem.
>
> VELO
>
> On Mon, Sep 20, 2010 at 5:00 PM, matetnic <[email protected]>wrote:
>
>
>
> > Hi,
>
> > I try to build an empty application with <compatibilityVersion>3.0.0</
> > compatibilityVersion> and I got a compile error. Removing the
> > compatibilityVersion tag fixes the problem. Example below.
>
> > Any suggestion?
> > Thanks!
>
> > Empty application :
> > <?xml version="1.0" encoding="utf-8"?>
> > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
>
> > </mx:Application>
>
> > pom.xml :
> > <?xml version="1.0" encoding="UTF-8"?>
> > <project xmlns="http://maven.apache.org/POM/4.0.0";
> >  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
> >  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> >    http://maven.apache.org/maven-v4_0_0.xsd";>
> >  <modelVersion>4.0.0</modelVersion>
>
> >  <groupId>com.treasuryofideas</groupId>
> >  <artifactId>TestMaven</artifactId>
> >  <version>1.0-SNAPSHOT</version>
> >  <packaging>swf</packaging>
>
> >  <name>Test Maven</name>
>
> >  <build>
> >    <sourceDirectory>src</sourceDirectory>
>
> >    <plugins>
> >      <plugin>
> >        <groupId>org.sonatype.flexmojos</groupId>
> >        <artifactId>flexmojos-maven-plugin</artifactId>
> >        <version>3.7.1</version>
> >        <extensions>true</extensions>
> >        <configuration>
> >          <compatibilityVersion>3.0.0</compatibilityVersion>
> >        </configuration>
> >        <dependencies>
> >          <dependency>
> >            <groupId>com.adobe.flex</groupId>
> >            <artifactId>compiler</artifactId>
> >            <version>4.0.0.14159</version>
> >            <type>pom</type>
> >          </dependency>
> >        </dependencies>
> >        <executions>
> >          <execution>
> >            <goals>
> >              <goal>wrapper</goal>
> >            </goals>
> >            <configuration>
> >              <parameters>
> >                <swf>${build.finalName}</swf>
> >                <width>100%</width>
> >                <height>100%</height>
> >              </parameters>
> >            </configuration>
> >          </execution>
> >        </executions>
> >      </plugin>
> >    </plugins>
> >  </build>
>
> >  <dependencies>
> >    <dependency>
> >      <groupId>com.adobe.flex.framework</groupId>
> >      <artifactId>flex-framework</artifactId>
> >      <version>4.0.0.14159</version>
> >      <type>pom</type>
> >    </dependency>
> >  </dependencies>
>
> >  <repositories>
> >    <repository>
> >      <id>flexmojos</id>
> >      <url>http://repository.sonatype.org/content/groups/flexgroup/</
> > url>
> >    </repository>
> >  </repositories>
>
> > </project>
>
> > Error :
> > [INFO]
> > ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Error compiling!
> > [INFO]
> > ------------------------------------------------------------------------
> > [INFO] Trace
> > org.apache.maven.lifecycle.LifecycleExecutionException: Error
> > compiling!
> >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLif 
> > ecycleExecutor
> > .java:719)
> >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycl 
> > e(DefaultLifec
> > ycleExecutor.java:556)
> >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLife 
> > cycleExecutor.
> > java:535)
> >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFai 
> > lures(DefaultL
> > ifecycleExecutor.java:387)
> >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Def 
> > aultLifecycleE
> > xecutor.java:348)
> >        at
>
> > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycl 
> > eExecutor.java
> > :180)
> >        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:
> > 328)
>
> > --
> > 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%2bunsubscr...@googlegrou 
> > ps.com>
> > 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