More them a Hello World….
Saturday, March 29th, 2008On Adobe site we have a lot of good samples.
So, I will guide you in how to patch one to work with maven.
I select this sample:
- Download the sources from here;
- Extract it somewhere;
- Put this pom.xml at root (not inside src). The structure will like this:

- Install datavisualization.swc on maven repository (Read how here);
- run mvn clean install on console;
- All done, your swf file will be available on target directory and on maven repository.
The suggested pom is fully commented. I suggest a review on it.
VELO
PS: Today flex-mojos (alpha4) has a bug on l10n support.
datavisualization resouce-bundle need to be install by hand, doing this:
mvn install:install-file -DgroupId=com.adobe.flex.sdk -DartifactId=datavisualization -Dversion=3.0.0.3.0.0.477 -Dpackaging=rb -Dclassifier=en_US -Dfile=”${Flex Builder 3}\sdks\3.0.0\frameworks\locale\en_US\datavisualization_rb.swc”

