Maven is an excellent build management tool and it is slowly gaining acceptance in the flash and flex community. If you want to run unit tests from Maven using the very latest build of Flexunit 4 (4.1 beta 3 at the time of writing) then read on.
I have set up a new maven repository for flex and flash artifacts at http://www.flashnexus.org/nexus and am aiming to keep it up to date with as many flash libraries as possible.
You can use it as a maven repository by adding the following xml into either you .m2/settings.xml file or putting in directly in your pom of choice.
<repository> <id>flash-nexus-repository</id> <url>http://www.flashnexus.org/nexus/content/groups/public</url> </repository>
Then you will be able to use the latest Flexunit testing framework by adding the following dependency to your project pom.
<dependency> <groupId>com.adobe.flexunit</groupId> <artifactId>flexunit</artifactId> <version>4.1.0-beta3</version> <type>swc</type> <scope>test</scope> </dependency>
Please let me know how you get on, and please suggest other libraries to be added to the repository.