flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marstonstudio <...@marstonstudio.com>
Subject Re: AW: Flex Mojos Fonts and Theme Questions
Date Sat, 22 Aug 2015 21:56:11 GMT
Here is my revised pom.xml which is working well

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

    <parent>
        <groupId>com.marstonstudio</groupId>
        <artifactId>crossUserMedia</artifactId>
        <version>1.0-SNAPSHOT</version>
    </parent>
    <artifactId>crossUserMicrophone</artifactId>
    <packaging>swf</packaging>
    <name>crossUserMedia Microphone</name>

    <properties>
        <flex.version>4.14.1</flex.version>
        <player.version>14.0</player.version>
        <configurationReport>true</configurationReport>
        <player.debug>true</player.debug>
        <skipTests>true</skipTests>
    </properties>

    <build>
        <finalName>crossUserMicrophone</finalName>
        <sourceDirectory>src/main/flex</sourceDirectory>
        <testSourceDirectory>src/test/flex</testSourceDirectory>
        <plugins>
            <plugin>
                <groupId>net.flexmojos.oss</groupId>
                <artifactId>flexmojos-maven-plugin</artifactId>
                <version>7.1.0-SNAPSHOT</version>
                <extensions>true</extensions>

                <dependencies>
                    <dependency>
                        <groupId>org.apache.flex</groupId>
                        <artifactId>compiler</artifactId>
                        <version>${flex.version}</version>
                        <type>pom</type>
                    </dependency>
                    <dependency>
                        <groupId>com.adobe</groupId>
                        <artifactId>fontkit</artifactId>
                        <version>1.0</version>
                    </dependency>
                </dependencies>
                <configuration>

                    <sourceFile>Main.as</sourceFile>
                    <defaultSize>
                        <width>215</width>
                        <height>138</height>
                    </defaultSize>
                    <defaultBackgroundColor>#F5F5DC</defaultBackgroundColor>
                    <defaultFrameRate>24</defaultFrameRate>

                    <flashVersion>${player.version}</flashVersion>
                    <debug>${player.debug}</debug>
                    <headlessServer>true</headlessServer>

                    <fonts>
                        <advancedAntiAliasing>true</advancedAntiAliasing>
                        <languageRange>
                            <en>U+0020-U+007E</en>
                        </languageRange>
                        <managers>
                            <manager>flash.fonts.JREFontManager</manager>
                            <manager>flash.fonts.BatikFontManager</manager>
                            <manager>flash.fonts.AFEFontManager</manager>
                            <manager>flash.fonts.CFFFontManager</manager>
                        </managers>
                    </fonts>
                    <localesCompiled>
                        <locale>en_US</locale>
                    </localesCompiled>

                    <defines>
                        <property>
                            <name>BUILD::timestamp</name>
                            <value>"${maven.build.timestamp}"</value>
                        </property>
                    </defines>

                </configuration>
            </plugin>
        </plugins>

        <resources>
            <resource>
                <directory>src/main/resources</directory>
            </resource>
        </resources>

    </build>

    <dependencies>
        <dependency>
            <groupId>org.apache.flex</groupId>
            <artifactId>framework</artifactId>
            <version>${flex.version}</version>
            <type>pom</type>
        </dependency>
        <dependency>
            <groupId>com.adobe.flash.framework</groupId>
            <artifactId>playerglobal</artifactId>
            <version>${player.version}</version>
            <type>swc</type>
        </dependency>
        <dependency>
            <groupId>org.flexunit</groupId>
            <artifactId>flexunit</artifactId>
            <version>4.1.0</version>
            <classifier>flex4</classifier>
            <type>swc</type>
            <scope>test</scope>
        </dependency>
    </dependencies>

</project>



--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Flex-Mojos-Fonts-and-Theme-Questions-tp10999p11019.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message