Ok yikes that didn't work... Let's try this again. Sorry for the "spam"
Hi, sorry to bring back an old thread, but I'm having some trouble myself. I just can't figure out/ follow the previous conversation to get flexmojos 6.0.1 to compile with flex sdk 4.1.0.16248 Here is my Pom: <?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.whatever</groupId> <artifactId>${artifactId}</artifactId> <version>${version}</version> <packaging>swf</packaging> <name>${artifactId} Flex</name> <properties> <flex.version>4.1.0.16248</flex.version> <artifactId>helloWorld3</artifactId> <version>1.0-SNAPSHOT</version> </properties> <build> <sourceDirectory>src/main/flex</sourceDirectory> <testSourceDirectory>src/test/flex</testSourceDirectory> <plugins> <plugin> <groupId>net.flexmojos.oss</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>6.0.1</version> <extensions>true</extensions> <configuration> <storepass/> <debug>true</debug> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.adobe.flex</groupId> <artifactId>compiler</artifactId> <version>${flex.version}</version> <type>pom</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>${flex.version}</version> <type>pom</type> </dependency> <dependency> <groupId>com.adobe.flexunit</groupId> <artifactId>flexunit</artifactId> <version>0.85</version> <type>swc</type> <scope>test</scope> </dependency> </dependencies> <repositories> <repository> <id>flex-mojos-repository</id> <url>http://repository.sonatype.org/content/groups/flexgroup</url> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>flex-mojos-plugin-repository</id> <url>http://repository.sonatype.org/content/groups/flexgroup</url> </pluginRepository> </pluginRepositories> </project> Here is the error: [ERROR] Failed to execute goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.1:compile-swf (default-compile-swf) on project helloWorld3: Execution default-compile-swf of goal net.flexmojos.oss:flexmojos-maven-plugin:6.0.1:compile-swf failed: Flex compiler and flex framework versions doesn't match. Compiler: '4.6.0.23201' - Framework: '4.1.0.16248'. [ERROR] You can use 'iKnowWhatImDoingPleaseBreakMyBuildIwontBlameFlexmojosForStopWorking' to disable this check. Please refer to Flexmojos maven doc. [ERROR] If you prefer fixing it instead of ignoring, take a look at: https://docs.sonatype.org/display/FLEXMOJOS/How+to+set+Flex+SDK+version [ERROR] -> [Help 1] I appreciate the help. -- View this message in context: http://apache-flex-users.2333346.n4.nabble.com/how-to-setup-and-use-maven-flex-plugin-tp1491p2516.html Sent from the Apache Flex Users mailing list archive at Nabble.com.
