Hi all, I have a relatively complex Flex (SDK 4.0) project with several Library projects, a module project and some Flex projects.
By now I used Flexmojos 3.6 and 3.6.1 to build the project. Today I have tried out the new Flexmojos 3.7 version (thanks for that!), however I am able to reproduce an issue: The project actually compiles successfully, but once I launch the application, I retrieve this Flash Builder error: VerifyError Error #1079: Native methods are not allowed in loaded code. When I switch back to Flexmojos 3.6.1, everything is fine and the application runs properly. Here is a sample POM of one of the Flex apps: <?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"> ... ... ... ... <build> <sourceDirectory>src/main/flex</sourceDirectory> <testSourceDirectory>src/test/flex</testSourceDirectory> <resources> <resource> <directory>src/main/resources</directory> </resource> <resource> <directory>src/main/flex</directory> </resource> </resources> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos.version}</version> <extensions>true</extensions> <configuration> <compiledLocales> <locale>en_US</locale> <locale>de_DE</locale> </compiledLocales> <mergeResourceBundle>true</mergeResourceBundle> <accessible>true</accessible> <optimize>true</optimize> <targetPlayer>10.0.0</targetPlayer> <showWarnings>true</showWarnings> <linkReport>true</linkReport> <allowSourcePathOverlap>true</allowSourcePathOverlap> <contextRoot>test-web</contextRoot> <sourceFile>Main.mxml</sourceFile> <output>Test.swf</output> </configuration> <dependencies> <dependency> <groupId>com.adobe.flex</groupId> <artifactId>compiler</artifactId> <version>${flex4.sdk}</version> <type>pom</type> </dependency> </dependencies> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>${flex4.sdk}</version> <type>pom</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>framework</artifactId> <version>${flex4.sdk}</version> <type>swc</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>rpc</artifactId> <version>${flex4.sdk}</version> <type>rb.swc</type> <classifier>en_US</classifier> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>sparkskins</artifactId> <version>${flex4.sdk}</version> <type>swc</type> <scope>theme</scope> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>spark</artifactId> <version>${flex4.sdk}</version> <type>swc</type> </dependency> </dependencies> <profiles> <profile> <id>m2e</id> <activation> <property> <name>m2e.version</name> </property> </activation> <build> <plugins> <plugin> <groupId>org.maven.ide.eclipse</groupId> <artifactId>lifecycle-mapping</artifactId> <version>0.9.9-SNAPSHOT</version> <configuration> <mappingId>customizable</mappingId> <configurators> <configurator id="org.maven.ide.eclipse.configuration.flex.configurator" /> </configurators> <mojoExecutions> <mojoExecution>org.apache.maven.plugins:maven-resources- plugin::</mojoExecution> </mojoExecutions> </configuration> </plugin> </plugins> <pluginManagement> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>2.4.3</version> </plugin> </plugins> </pluginManagement> </build> </profile> </profiles> </project> Is this a bug (because it is reproducable)? Or is the POM wrong? Thanks! Simon -- You received this message because you are subscribed to the Google Groups "Flex Mojos" group. To post to this group, send email to flex-mojos@googlegroups.com To unsubscribe from this group, send email to flex-mojos+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/flex-mojos http://flexmojos.sonatype.org/