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(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) -- 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/
