Hi All,

i'm trying to use flexmojos 3.7.1 with maven 2.2.1 here. A have some
assets in my project, but for some reason this assets not be added
after the build on swc.

i tried to use that:

<build>

                <sourceDirectory>src/main/flex</sourceDirectory>

                <testSourceDirectory>src/test/flex</testSourceDirectory>
                <plugins>
                        <plugin>
                                <groupId>org.sonatype.flexmojos</groupId>
                                <artifactId>flexmojos-maven-plugin</artifactId>
                                <version>${flexmojos.version}</version>
                                <extensions>true</extensions>

                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>optimize</goal>
                                                </goals>
                                        </execution>
                                </executions>

                                <configuration>

                                        <includeSources>
                                                
<sources>${basedir}/src/main/flex</sources>
                                        </includeSources>

                                        <includeFiles>

                                                <!-- New -->
                                                
<file>${basedir}/src/main/flex/assets/css/main.css</file>
                                                
<file>${basedir}/src/main/flex/assets/fonts/LoType-
MediumItalic.ttf</file>
                                                
<file>${basedir}/src/main/flex/assets/swf/game.swf</file>

                                        </includeFiles>
                                        <testTimeout>60000</testTimeout>

                                </configuration>



                                <dependencies>
                                        <dependency>
                                                
<groupId>com.adobe.flex</groupId>
                                                
<artifactId>compiler</artifactId>
                                                
<version>${flex.framework.version}</version>
                                                <type>pom</type>
                                        </dependency>
                                </dependencies>
                        </plugin>
                </plugins>
                <pluginManagement>
                        <plugins>
                                <plugin>
                                        
<groupId>org.apache.maven.plugins</groupId>
                                        
<artifactId>maven-resources-plugin</artifactId>
                                        <version>2.4</version>
                                </plugin>
                        </plugins>
                </pluginManagement>
        </build>


But not works.

Any trick guys ?

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