Hello I'm running into problems trying to compile a Flex 3.5 project for compatibility with player 10.1.
I'm getting the following error [ERROR] Failed to execute goal org.sonatype.flexmojos:flexmojos-maven- plugin:3.5.0:compile-swc (default-compile-swc) on project common-flex: Player/Air Global dependency not found. I added a player.swc file to my repository for 10.1 with with flex version 3.5.0.12683, which is normally not available. But it looks like my workaround ran into a problem because flex mojo doesn't like that combination. Is there any way to override the settings for default-compile-swc to make this all work? I understand that Flex Mojo 4 is preferred, but I'm not in a position to upgrade everybody to maven 3 at the moment so I'm hoping to accomplish this sticking with Flex 3.5. Pom is below. Guidance greatly appreciated. <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> <name>Common Flex</name> <artifactId>common-flex</artifactId> <packaging>swc</packaging> <parent> <groupId>com.babelcentral</groupId> <artifactId>common-parent</artifactId> <version>trunk-SNAPSHOT</version> </parent> <build> <sourceDirectory>src/main/flex</sourceDirectory> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>3.5.0</version> <extensions>true</extensions> <configuration> <locales> <locale>en_US</locale> </locales> <targetPlayer>10.1.0</targetPlayer> <definesDeclaration> <property> <name>CONFIG::FLASH_10_1</name> <value>'true'</value> </property> <property> <name>CONFIG::LOGGING</name> <value>'true'</value> </property> </definesDeclaration> </configuration> <dependencies> <dependency> <groupId>com.adobe.flex</groupId> <artifactId>compiler</artifactId> <version>3.5.0.12683</version> <type>pom</type> </dependency> </dependencies> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>3.5.0.12683</version> <type>pom</type> <exclusions> <exclusion> <groupId>com.adobe.flex.framework</groupId> <artifactId>playerglobal</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>playerglobal</artifactId> <version>3.5.0.12683</version> <classifier>10</classifier> <type>1.swc</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>framework</artifactId> <version>3.5.0.12683</version> <type>swc</type> <scope>caching</scope> </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 http://flexmojos.sonatype.org/
