OK, here is the 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";>
        <modelVersion>4.0.0</modelVersion>

        <groupId>de.test</groupId>
        <artifactId>testair</artifactId>
        <name>Test AIR</name>
        <version>1.0-SNAPSHOT</version>
        <packaging>air</packaging>

        <properties>
                <flexmojos.version>4.0-SNAPSHOT</flexmojos.version>
                <flex.sdk.version>4.1.0.16076</flex.sdk.version>
                <flexunit.version>4.0.0</flexunit.version>

                <keystore.file>${basedir}/airCert.p12</keystore.file>
                <keystore.password>password</keystore.password>
        </properties>

        <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>
                                        <sourceFile>TestApp.mxml</sourceFile>

                                        
<flexBuilderCompatibility>true</flexBuilderCompatibility>

                                        <keystore>${keystore.file}</keystore>
                                        
<storepass>${keystore.password}</storepass>
                                </configuration>

                                <executions>
                                        <execution>
                                                <goals>
                                                        <goal>sign-air</goal>
                                                </goals>
                                        </execution>
                                </executions>

                                <dependencies>
                                        <dependency>
                                                
<groupId>com.adobe.flex</groupId>
                                                
<artifactId>compiler</artifactId>
                                                
<version>${flex.sdk.version}</version>
                                                <type>pom</type>
                                        </dependency>
                                        <dependency>
                                                
<groupId>com.adobe.flex.compiler</groupId>
                                                <artifactId>adt</artifactId>
                                                
<version>${flex.sdk.version}</version>
                                        </dependency>
                                </dependencies>
                        </plugin>
                </plugins>
        </build>

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

                <!-- <dependency> <groupId>com.adobe.flexunit</groupId>
<artifactId>flexunit</artifactId>
                        <version>${flexunit.version}</version> <type>swc</type>
<scope>test</scope>
                        </dependency> -->

        </dependencies>
</project>


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