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.



Awesome! thanx a lot!
Arnoud
hmmm, thought i’ll let you know,
hmmm, Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
cheers,
Arnoud
Oops, server back up now
We’re trying to have a multi IDE environment here, but I’ve noticed that when you run FlexUnit tests using FlashBuilder it automatically pulls in it’s own included version of FlexUnit (4.0.1.277662). Have you had any problems with this or have you moved away from FlashBuilder completely now?
Hi Michael,
My advice would be to use IntelliJ Idea X, which allows (and recognises) what your current flex unit library is, whether it be from a maven dependency or as a linked library. Failing that I remember seeing posts about getting flash builder to run with a different version of flexunit, but can’t remember where – maybe google can help
Conrad
Hi there. Thanks for setting up this repo. I’m getting an error when I try to access it:
Service Temporarily Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Al fixed now
Service temporarily down again
Sorry – It’s back up now – I am going to try and get some service monitoring software, so that I am informed quickly when it goes down – is there anything good for android?
Opps, Its back down again. When it should come up again?
Back up again already