Thank you for your responses. @Marvin: I read some of them and tested some solutions (swfVersion for example) but nothing works, that's why I'm posting. But maybe I missed some thread, if it's the case and you know which thread it is, please let me know :)
Here is my pom.xml file if it can help : <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/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>Helloworld</groupId> <artifactId>Helloworld</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>swf</packaging> <properties> <flex.version>4.5.0.20967</flex.version> </properties> <build> <pluginManagement> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>4.0-beta-7</version> <extensions>true</extensions> <configuration> <targetPlayer>10.2.0</targetPlayer> <swfVersion>11</swfVersion> </configuration> <dependencies> <dependency> <groupId>com.adobe.flex</groupId> <artifactId>compiler</artifactId> <version>${flex.version}</version> <type>pom</type> </dependency> </dependencies> </plugin> </plugins> </pluginManagement> <sourceDirectory>src/main/flex</sourceDirectory> <plugins> <plugin> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <configuration> <targetPlayer>10.2.0</targetPlayer> <optimize>true</optimize> <sourceFile>Helloworld.mxml</sourceFile> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>${flex.version}</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>${flex.version}</version> <classifier>10.2</classifier> <type>swc</type> </dependency> </dependencies> </project> On 31 mai, 15:51, Marvin Froeder <[email protected]> wrote: > Or even reading recent entries on the user list... > > > > > > > > On Tue, May 31, 2011 at 10:48 AM, Simon Morvan <[email protected]> wrote: > > Le 31/05/2011 15:14, Freeman a écrit : > > > Hi everyone, > > >> I'm currently facing an issue while compiling a project using Maven > >> 3.0.3, flexmojo 4.0-beta-7 and the Flex SDK 4.5.0.20967. > >> Indeed, it creates an swf file but when I launch it, only a white > >> screen appears and my app is not loaded. > >> It tried using the old 4.5.0.19786 SDK version and it works fine, so > >> my maven configuration seems to be OK. > > >> Does anybody knows what could have been changed between these two > >> versions that can explain this behaviour ? > > >> Else, if someone got it working, please send me an Helloworld > >> application so that I can figure out what kind of configuration I'm > >> missing. > > >> Thanks in advance, > > >> Cédric > > >> Maybe you could start by sharing your pom.xml here. > > > -- > > 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/ -- 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/
