Hi,

I'm attempting to install a SWF and wrapper HTML with the following
POM but am getting ony the SWF.
Feels like I'm doing something obviously wrong but I can't find it.
Can someone take a look and let me
know if they see a problem? FWIW, I do get one warning but, as I said,
the SWF is successfully generated:

[WARNING] Source file was not defined, flex-mojos will guess one.

Thanks, Garry


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

        <properties>
                <flex-mojos.version>2.0M8</flex-mojos.version>
                <flex-compiler.version>3.1.0.2710</flex-compiler.version>
        </properties>

        <parent>
                <groupId>info.flex-mojos</groupId>
                <artifactId>flex-super-pom</artifactId>
                <version>2.0M8</version>
        </parent>

        <groupId>garry</groupId>
        <artifactId>cm-widget</artifactId>
        <version>1.0-SNAPSHOT</version>

        <packaging>swf</packaging>

        <build>
                <sourceDirectory>src/main/flex</sourceDirectory>
                <plugins>

                        <plugin>
                                <groupId>info.flex-mojos</groupId>
                                <artifactId>flex-compiler-mojo</artifactId>
                                <configuration>
                                        <sourceFile>Main.mxml</sourceFile>
                                        
<mergeResourceBundle>true</mergeResourceBundle>
                                </configuration>
                        </plugin>

                        <plugin>
                                <groupId>info.flex-mojos</groupId>
                                <artifactId>html-wrapper-mojo</artifactId>
                                <version>${flex-mojos.version}</version>
                                <configuration>
                                        
<templateURI>folder:html-template</templateURI>
                                </configuration>
                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>wrapper</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>

                </plugins>
        </build>

        <dependencies>
                <dependency>
                        <groupId>com.adobe.flex</groupId>
                        <artifactId>compiler</artifactId>
                        <version>${flex-compiler.version}</version>
                        <type>pom</type>
                </dependency>

                <dependency>
                        <groupId>com.adobe</groupId>
                        <artifactId>cairngorm</artifactId>
                        <version>2.2.1</version>
                        <type>swc</type>
                </dependency>

                <dependency>
                        <groupId>corelib</groupId>
                        <artifactId>as3corelib</artifactId>
                        <version>.92.1</version>
                        <type>swc</type>
                </dependency>

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>flex-framework</artifactId>
                        <version>${flex-compiler.version}</version>
                        <type>pom</type>
                </dependency>

        </dependencies>
</project>



--~--~---------~--~----~------------~-------~--~----~
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?hl=en?hl=en

http://blog.flex-mojos.info/
-~----------~----~----~----~------~----~------~--~---

Reply via email to