<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>${project.parent.groupId}</groupId>
<artifactId>mon-appli-flex</artifactId>
<packaging>swf</packaging>
<version>${project.parent.version}</version>
<name>Mon Appli Flex Module</name>
<parent>
<groupId>com.enwoo</groupId>
<artifactId>boc</artifactId>
<version>1.0-SNAPSHOT</version>
</parent>
<dependencies>
<dependency>
<groupId>flexlib</groupId>
<artifactId>flexlib</artifactId>
<version>2.5</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.maboite</groupId>
<artifactId>CGFlexFwk</artifactId>
<version>1.0.71</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>flexlib</groupId>
<artifactId>flexlib</artifactId>
<version>2.5</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>flex-framework</artifactId>
<version>3.5.0.12683</version>
<type>pom</type>
</dependency>
</dependencies>
<build>
<sourceDirectory>src/main/flex</sourceDirectory>
<plugins>
<plugin>
<groupId>org.sonatype.flexmojos</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>3.3.0</version>
<extensions>true</extensions>
<configuration>
<sourceFile>mon-appliFlex.mxml</sourceFile>
<output>${basedir}/../mon-appli/appli-web/src/main/webapp/mon-appliFlex.swf</output>
<services>${basedir}/../mon-appli/appli-web/src/main/webapp/WEB-INF/flex/services-config.xml</services>
<contextRoot>/mon-appli</contextRoot>
<compiledLocales>
<locale>fr_FR</locale>
<locale>en_US</locale>
</compiledLocales>
<debug>${flex.debug}</debug>
<warnings>
<noConstructor>false</noConstructor>
</warnings>
</configuration>
<dependencies>
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>3.5.0.12683</version>
<type>pom</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.compiler</groupId>
<artifactId>asdoc</artifactId>
<version>3.5.0.12683</version>
<type>zip</type>
<classifier>template</classifier>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
lundi 27 septembre 2010
maven : compiler un projet Flex
Voici, un exemple de pom permettant de compiler un projet flex (swf). De plus, ce dernier ne nécessite pas d'installation du flex SDK.
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire