After adding in the flex framework it works perfectly. Thanks. I've added the final POM I used to get AsUnit(w/ the Flex Framework) working in FlexMojos, in case someone runs across this. The process FlexMojos is running is to create a TestRunner.mxml, adds all the AsUnit unit tests from my test directory and reporting the results back to the console print out.
------------------------- <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>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-flex-super-pom</artifactId> <version>3.2.0</version> </parent> <groupId>com</groupId> <artifactId>astream</artifactId> <packaging>swc</packaging> <version>1.0</version> <name>AStream Library</name> <properties> <flex-version>3.3.0.4852</flex-version> <flexmojos-version>3.2.0</flexmojos-version> </properties> <build> <finalName>${artifactId}</finalName> <sourceDirectory>src/main/as</sourceDirectory> <testSourceDirectory>src/test/as</testSourceDirectory> <plugins> <plugin> <!-- Flex (SWC and SWF) compilation --> <groupId>org.sonatype.flexmojos</groupId> <artifactId>flexmojos-maven-plugin</artifactId> <version>${flexmojos-version}</version> <extensions>true</extensions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>${flex-version}</version> <scope>external</scope> <type>pom</type> </dependency> <dependency> <groupId>com.asunit</groupId> <artifactId>asunit</artifactId> <version>20071011</version> <type>swc</type> <scope>test</scope> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>playerglobal</artifactId> <version>${flex-version}</version> <classifier>9</classifier> <type>swc</type> <scope>external</scope> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>framework</artifactId> <version>${flex-version}</version> <type>rb.swc</type> </dependency> <dependency> <groupId>com.adobe.flex.framework</groupId> <artifactId>flex-framework</artifactId> <version>${flex-version}</version> <type>pom</type> </dependency> </dependencies> </project> --~--~---------~--~----~------------~-------~--~----~ 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?hl=en?hl=en http://blog.flex-mojos.info/ -~----------~----~----~----~------~----~------~--~---
