Hello, I'm working on updating my build scripts from flex-mojo 2.0.3 to 3.1, and I'm having trouble getting my build to successfully target flash player 10. There have been some group/artifact/classifier changes and I'm trying to keep up. I've pasted my pom.xml below, which is giving me errors that indicate that it is compiling for flash 9.
Assets_EMBED_SOUND_FX_RECORDING_START.as:[1,1] Definition __AS3__.vec:Vector could not be found. any suggestions based on my pom below? <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.XXXXXX</groupId> <artifactId>site-player-flex</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>swf</packaging> <name>Player Flex</name> <build> <sourceDirectory>${basedir}/src/main/flex</sourceDirectory> <testSourceDirectory>${basedir}/src/test/flex</testSourceDirectory> <finalName>player</finalName> <plugins> <plugin> <!-- usage and explanation: http://docs.flex-mojos.info/flex-compiler-mojo/index.html --> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>3.1.0</version> <extensions>true</extensions> <configuration> <targetPlayer>10.0.0</targetPlayer> <sourceFile>player.mxml</sourceFile> <accessible>true</accessible> <defaultBackgroundColor>ffffff</defaultBackgroundColor> <defaultFrameRate>24</defaultFrameRate> <defaultSizeWidth>991</defaultSizeWidth> <defaultSizeHeight>634</defaultSizeHeight> <scriptMaxExecutionTime>20</scriptMaxExecutionTime> <!-- Languages to compile to --> <locales> <locale>en_US</locale> </locales> <mergeResourceBundle>true</mergeResourceBundle> <resourceBundlePath>${basedir}/src/main/locales/{locale}</ resourceBundlePath> <sourcePaths> <path>${basedir}/src/main/flex</path> <path>${basedir}/src/main/resources</path> <path>${basedir}/src/main/locales/{locale}</path> </sourcePaths> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>3.3.0.4852</version> <type>pom</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>playerglobal</artifactId> <version>3.3.0.4852</version> <classifier>10</classifier> <type>swc</type> </dependency> <dependency> <groupId>com.adobe.flexunit</groupId> <artifactId>flexunit</artifactId> <version>0.90</version> <type>swc</type> </dependency> </dependencies> </project> --~--~---------~--~----~------------~-------~--~----~ 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?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
