pom.xml
1. define property:
<flex.sdk.version>4.10.0.20130801</flex.sdk.version>
<flex.mojos.version>6.0.1</flex.mojos.version>
<flex.playerglobal.version>11.8</flex.playerglobal.version>
<dependency>
<groupId>com.adobe.flash.framework</groupId>
<artifactId>playerglobal</artifactId>
<version>${flex.playerglobal.version}</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>framework</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>mx</artifactId>
<version>${flex.sdk.version}</version>
<type>pom</type>
</dependency>
4. Other
a. When install FDK, please select "embedded font support" installed. Otherwise, the external font can't be transcode successfully.
1. define property:
<flex.sdk.version>4.10.0.20130801</flex.sdk.version>
<flex.mojos.version>6.0.1</flex.mojos.version>
<flex.playerglobal.version>11.8</flex.playerglobal.version>
2. pluginManagement
<plugin>
<groupId>net.flexmojos.oss</groupId>
<artifactId>flexmojos-maven-plugin</artifactId>
<version>${flex.mojos.version}</version>
<extensions>true</extensions>
<configuration>
<swfVersion>11</swfVersion>
<fonts>
<managers>
<manager-class>flash.fonts.JREFontManager</manager-class>
<manager-class>flash.fonts.BatikFontManager</manager-class>
<manager-class>flash.fonts.AFEFontManager</manager-class>
<manager-class>flash.fonts.CFFFontManager</manager-class>
</managers>
</fonts>
<locales>
<param>${locale}</param>
</locales>
<policyFileUrls>
<url>/{contextRoot}/crossdomain.xml</url>
</policyFileUrls>
<verifyDigests>true</verifyDigests>
</configuration>
<dependencies>
<!--import to assign the FDK version used to compile code. -->
<!--import to assign the FDK version used to compile code. -->
<dependency>
<groupId>com.adobe.flex</groupId>
<artifactId>compiler</artifactId>
<version>${flex.sdk.version}</version>
<type>pom</type>
</dependency>
</dependencies>
</plugin>
3. Dependencies<dependency>
<groupId>com.adobe.flash.framework</groupId>
<artifactId>playerglobal</artifactId>
<version>${flex.playerglobal.version}</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>framework</artifactId>
<version>${flex.sdk.version}</version>
<type>swc</type>
</dependency>
<dependency>
<groupId>com.adobe.flex.framework</groupId>
<artifactId>mx</artifactId>
<version>${flex.sdk.version}</version>
<type>pom</type>
</dependency>
4. Other
a. When install FDK, please select "embedded font support" installed. Otherwise, the external font can't be transcode successfully.
Comments
Post a Comment