I don't really understand why but i feel like flemojos is using flex
4.1 instead of flex 4.5 since i got that strange behavior, 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";>
        <parent>
                 <groupId>com.contactSample</groupId>
                 <artifactId>contact-sample</artifactId>
                 <version>0.0.1-SNAPSHOT</version>
        </parent>
        <modelVersion>4.0.0</modelVersion>
        <artifactId>contact-client</artifactId>
        <packaging>swf</packaging>

        <name>Contact Sample Flex Client</name>

        <properties>
                <flexmojos.version>4.0-RC2</flexmojos.version>
                <flex.version>4.5.1.21328</flex.version>
                <swf.version>11</swf.version>
                <flash.version>10.2.0</flash.version>
        </properties>

        <build>
                <sourceDirectory>src/main/flex</sourceDirectory>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-dependency-plugin</artifactId>
                                <version>2.4</version>
                                <executions>
                                        <execution>
                                                <id>copy-dependencies</id>
                                                <phase>validate</phase>
                                                <goals>
                                                        
<goal>copy-dependencies</goal>
                                                </goals>
                                                <configuration>
                                                        
<outputDirectory>libs</outputDirectory>
                                                        
<excludeGroupIds>com.adobe.flex.framework</excludeGroupIds>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>
                        <plugin>
                                <groupId>org.sonatype.flexmojos</groupId>
                                <artifactId>flexmojos-maven-plugin</artifactId>
                                <version>${flexmojos.version}</version>
                                <extensions>true</extensions>
                                <dependencies>
                                        <dependency>
                                                
<groupId>com.adobe.flex</groupId>
                                                
<artifactId>compiler</artifactId>
                                                
<version>${flex.version}</version>
                                                <type>pom</type>
                                        </dependency>
                                </dependencies>
                                <configuration>
                                        <swfVersion>${swf.version}</swfVersion>
                                        
<targetPlayer>${flash.version}</targetPlayer>
                                        <sourceFile>Main.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>
                </dependency>


                <dependency>
                        <groupId>com.adobe.flexunit</groupId>
                        <artifactId>flexunit</artifactId>
                        <version>0.85</version>
                        <type>swc</type>
                        <scope>test</scope>
                </dependency>

                <dependency>
                        <groupId>org.spicefactory.parsley</groupId>
                        <artifactId>parsley-flex</artifactId>
                        <version>3.0.0</version>
                        <type>swc</type>
                </dependency>

                <dependency>
            <groupId>com.adobe.cairngorm</groupId>
            <artifactId>observer</artifactId>
            <version>1.9</version>
            <type>swc</type>
        </dependency>
        </dependencies>


</project>

If someone could help me

-- 
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/

Reply via email to