Thanks Chris.  I do that that in my pom.. maybe I've inserted it in the
incorrect location?  I'll post my poms for clarity sake.  I've removed some
of the non pertinent plugins/settings.

Parent pom:

<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>CENSORED</groupId>
                <artifactId>px-common-parent</artifactId>
                <version>1.2-SNAPSHOT</version>
                
<relativePath>../../../common/px_common/px-common-parent</relativePath>
        </parent>

        <groupId>CENSORED</groupId>
        <artifactId>plm-design-flex-parent</artifactId>
        <version>1.2-SNAPSHOT</version>
        <packaging>pom</packaging>

        <distributionManagement>
                CENSORED
        </distributionManagement>


        <properties>
                <release.version>1.2-SNAPSHOT</release.version>
                <flex.mojo.version>6.0.1</flex.mojo.version>
                <flex.sdk.version>4.10.0.20130801</flex.sdk.version>
                <flex.groupId>com.adobe.flex</flex.groupId>
                <flashplayer.version>11.8</flashplayer.version>
                <flex.tlf.version>2.0.0.232</flex.tlf.version>
                
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
                
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
                <sonar.language>flex</sonar.language>
                <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
        
<sonar.surefire.reportsPath>target\surefire-reports</sonar.surefire.reportsPath>
        
<sonar.cobertura.reportPath>target\coverage\coverage.xml</sonar.cobertura.reportPath>
                <flexunit.version>4.1</flexunit.version>
                <debug.build>false</debug.build>
                <accessible>true</accessible>
                <flex.flashPlayer.command>flashplayer</flex.flashPlayer.command>
                <language>en_US</language>
                
<surefire.report.plugin.version>2.16</surefire.report.plugin.version>
                <templateURI>folder:${basedir}/html-template-build</templateURI>
        
<assembly.descriptor>src/main/assembly/html-bundle.xml</assembly.descriptor>
        </properties>

        *<dependencyManagement>
                <dependencies>
                        <dependency>
                                <groupId>${flex.groupId}</groupId>
                                <artifactId>framework</artifactId>
                                <version>${flex.sdk.version}</version>
                                <type>pom</type>
                                <scope>import</scope>
                        </dependency>
                </dependencies>
        </dependencyManagement>*

        <dependencies>
                <dependency>
                        <groupId>${flex.groupId}.framework</groupId>
                        <artifactId>flex-framework</artifactId>
                        <type>pom</type>
                </dependency>

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

                <dependency>
                        <groupId>CENSORED</groupId>
                        <artifactId>px-env-profile</artifactId>
                        <version>1.2-SNAPSHOT</version>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>memorphic.xpath</groupId>
                        <artifactId>xpath-as3</artifactId>
                        <version>1.0.0</version>
                        <type>swc</type>
                </dependency>
                <dependency>
                        <groupId>org.swizframework</groupId>
                        <artifactId>swiz-framework</artifactId>
                        <version>1.4.0</version>
                        <type>swc</type>
                </dependency>
                <dependency>
                        <groupId>CENSORED</groupId>
                        <artifactId>mock4as</artifactId>
                        <version>1.0</version>
                        <type>swc</type>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>org.mockolate</groupId>
                        <artifactId>mockolate</artifactId>
                        <version>1-2-xtrac-custom</version>
                        <type>swc</type>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>com.googlecode</groupId>
                        <artifactId>bindage-tools-swiz</artifactId>
                        <version>0.0.6</version>
                        <type>swc</type>
                </dependency>
                <dependency>
                        <groupId>com.googlecode</groupId>
                        <artifactId>bindage-tools</artifactId>
                        <version>0.0.6</version>
                        <type>swc</type>
                </dependency>
                <dependency>
                        <groupId>hamcrest-as3</groupId>
                        <artifactId>hamcrest-as3</artifactId>
                        <version>1.1.3</version>
                        <type>swc</type>
                </dependency>
                <dependency>
                        <groupId>org.asx</groupId>
                        <artifactId>asx</artifactId>
                        <version>0.1.1</version>
                        <type>swc</type>
                </dependency>
                <dependency>
                        <groupId>com.google.code.flex-iframe</groupId>
                        <artifactId>flex-iframe</artifactId>
                        <version>1.5.1</version>
                        <type>swc</type>
                </dependency>
                <dependency>
                        <groupId>com.adobe</groupId>
                        <artifactId>as3corelib</artifactId>
                        <version>0.93</version>
                        <type>swc</type>
                </dependency>

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

                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>framework</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>rsl</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>textLayout</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>rsl</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>charts</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>rsl</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>rpc</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>rsl</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>mx</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>rsl</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>advancedgrids</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>rsl</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>spark</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>rsl</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>sparkskins</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>rsl</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>spark_dmv</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swc</type>
                        <scope>rsl</scope>
                </dependency>

                /* These dependencies are listed again in SWF format
                        so that the copy dependencies plugin can copy the
                        correct artifact to the required folder.  Without
                        this is was copying over the SWC files. */
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>framework</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swf</type>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>textLayout</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swf</type>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>charts</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swf</type>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>rpc</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swf</type>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>mx</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swf</type>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>advancedgrids</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swf</type>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>spark</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swf</type>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>sparkskins</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swf</type>
                        <scope>test</scope>
                </dependency>
                <dependency>
                        <groupId>com.adobe.flex.framework</groupId>
                        <artifactId>spark_dmv</artifactId>
                        <version>${flex.sdk.version}</version>
                        <type>swf</type>
                        <scope>test</scope>
                </dependency>
        </dependencies>


        <build>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-dependency-plugin</artifactId>
                                <version>2.8</version>
                                <executions>
                                        <execution>
                                                <id>unpack</id>
                                                <phase>process-resources</phase>
                                                <goals>
                                                        <goal>unpack</goal>
                                                </goals>
                                                <configuration>
                                                        <artifactItems>
                                                                <artifactItem>
                                                                        
<groupId>CENSORED</groupId>
                                                                        
<artifactId>px-env-profile</artifactId>
                                                                        
<version>1.2-SNAPSHOT</version>
                                                                        
<type>jar</type>
                                                                        
<outputDirectory>${basedir}/target/env-profile</outputDirectory>
                                                                </artifactItem>
                                                        </artifactItems>
                                                </configuration>
                                        </execution>
                                        
                                        <execution>
                                                <id>copy-rsls</id>
                                                <phase>process-resources</phase>
                                                <goals>
                                                        
<goal>copy-dependencies</goal>
                                                </goals>
                                                <configuration>
                                                        
<includeGroupIds>com.adobe.flex.framework</includeGroupIds>
                                                        
<includeTypes>swf</includeTypes>
                                                        
<excludeTransitive>true</excludeTransitive>
                                                        
<outputDirectory>${basedir}/target/rsl</outputDirectory>
                                                </configuration>
                                        </execution>
                                </executions>
                        </plugin>

                        

                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-resources-plugin</artifactId>
                                <version>2.6</version>
                                <executions>
                                        <execution>
                                                <id>copy-resources</id>
                                                <phase>process-resources</phase>
                                                <goals>
                                                        
<goal>copy-resources</goal>
                                                </goals>
                                                <configuration>
                                                        
<outputDirectory>${basedir}/target/test-classes</outputDirectory>
                                                        <resources>
                                                                <resource>
                                                                        
<directory>src/main/resources</directory>
                                                                        
<filtering>false</filtering>
                                                                </resource>
                                                        </resources>
                                                </configuration>
                                        </execution>

                                        <execution>
                                                <id>copy-test-resources</id>
                                                <phase>process-resources</phase>
                                                <goals>
                                                        
<goal>copy-resources</goal>
                                                </goals>
                                                <configuration>
                                                        
<outputDirectory>${basedir}/target/test-classes</outputDirectory>
                                                        <resources>
                                                                <resource>
                                                                        
<directory>${basedir}/target/env-profile</directory>
                                                                        
<filtering>true</filtering>
                                                                </resource>
                                                        </resources>
                                                </configuration>
                                        </execution>

                                </executions>
                        </plugin>
                </plugins>
        </build>

        <repositories>
                <repository>
                        <id>flex-mojos-repository</id>
                        <name>flex-mojos-repository</name>
                        
<url>http://repository.sonatype.org/content/groups/flexgroup</url>
                </repository>
        </repositories>

        <pluginRepositories>
                <pluginRepository>
                        <id>flex-mojos-plugin-repository</id>
                        
<url>http://repository.sonatype.org/content/groups/flexgroup</url>
                </pluginRepository>
        </pluginRepositories>

</project>

Project Pom:

<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>CENSORED</groupId>
                <artifactId>plm-design-flex-parent</artifactId>
                <version>1.2-SNAPSHOT</version>
                <relativePath>../plm-design-flex-parent/pom.xml</relativePath>
        </parent>

        <groupId>CENSORED</groupId>
        <name></name>
        <artifactId>plm-design-model</artifactId>
        <version>1.2-SNAPSHOT</version>
        <packaging>swf</packaging>

        <dependencies>
        </dependencies>

        <build>
                <sourceDirectory>src/main/flex</sourceDirectory>
                <testSourceDirectory>src/test/flex</testSourceDirectory>
                <plugins>
                        <plugin>
                                <groupId>net.flexmojos.oss</groupId>
                                <artifactId>flexmojos-maven-plugin</artifactId>
                                <version>${flex.mojo.version}</version>
                                <extensions>true</extensions>

                                <configuration>
                                        <testTimeout>20000</testTimeout>
                                        <debug>${debug.build}</debug>
                                        
<targetPlayer>${flashplayer.version}</targetPlayer>
                                        
<localesSourcePath>src/main/locale/${language}</localesSourcePath>
                                        <localesCompiled>
                                                <locale>${language}</locale>
                                        </localesCompiled>
                                        
<dumpConfigAttach>false</dumpConfigAttach>
                                        <coverage>true</coverage>
                                        <coverageReportFormat>
                                                
<coverageReportFormat>xml</coverageReportFormat>
                                                
<coverageReportFormat>html</coverageReportFormat>
                                        </coverageReportFormat>
                                        
<coverageStrategy>link-report</coverageStrategy>
                                        <htmlName>ModellerAppView</htmlName>
                                        
<targetPlayer>${flashplayer.version}</targetPlayer>
                                        
<generateHtmlWrapper>true</generateHtmlWrapper>
                                        
                                        
<templateURI>${templateURI}</templateURI>
                                        
                                        <parameters>
                                                
<expressInstallSwf>playerProductInstall.swf</expressInstallSwf>
                                                
<useBrowserHistory>--</useBrowserHistory>
                                                <bgcolor>#ffffff</bgcolor>
                                                
<version_major>11</version_major>
                                                <version_minor>8</version_minor>
                                                
<version_revision>0</version_revision>
                                        </parameters>
                                        <sourcePaths>
                                                
<path>${basedir}/src/main/flex</path>
                                                
<path>${basedir}/src/main/locale/en_US</path>
                                                
<path>${basedir}/src/main/resources/plm-modeler</path>
                                                
<path>${basedir}/src/main/resources</path>
                                                
<path>${basedir}/src/test/flex</path>
                                                
<path>${basedir}/src/test/resources</path>
                                        </sourcePaths>
                                        <accessible>${accessible}</accessible>
                                        
<sourceFile>ModellerAppView.mxml</sourceFile>
                                        <rslUrls>
                                                
<url>rsl/{artifactId}-{version}.{extension}</url>
                                        </rslUrls>
                                        <includeTestFiles>
                                                
<include>ModellerAppTestCase</include>
                                                
<include>com/fmr/xtrac/modeler/unitTests/**/*TestCase</include>
                                                
<include>com/fmr/xtrac/modeler/unitTests/**/Test*</include>
                                        </includeTestFiles>
                                        
                                        <showWarnings>false</showWarnings>
                                        <themes>
                                                <theme>
                                                
${settings.localRepository}/com/adobe/flex/framework/spark/${flex.sdk.version}/spark-${flex.sdk.version}-theme.css
                                                </theme>
                                                
<theme>${basedir}/src/main/resources/css/MXFTEText.css</theme>
                                        </themes>
                                        <fonts>
                                                
<advancedAntiAliasing>true</advancedAntiAliasing>
                                                
<maxCachedFonts>20</maxCachedFonts>
                                                
<maxGlyphsPerFace>1000</maxGlyphsPerFace>
                                                <managers>
                                                        
                                                        
<manager>flash.fonts.JREFontManager</manager>
                                                        
<manager>flash.fonts.BatikFontManager</manager>
                                                        
<manager>flash.fonts.AFEFontManager</manager>
                                                        
<manager>flash.fonts.CFFFontManager</manager>
                                                </managers>
                                        </fonts>
                                </configuration>

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

                                <executions>
                                        <execution>
                                                <id>generate-wrapper</id>
                                                <goals>
                                                        <goal>wrapper</goal>
                                                </goals>
                                        </execution>
                                </executions>
                        </plugin>
                </plugins>
        </build>

        <reporting>
                <plugins>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                
<artifactId>maven-surefire-report-plugin</artifactId>
                                
<version>${surefire.report.plugin.version}</version>
                        </plugin>
                </plugins>
        </reporting>


</project>


Michael




--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexMojos-6-Flex-sdk-4-10-0-20130801-and-getAdvancedTelemetry-tp29528p29612.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to