The flexmojos goal "flexbuilder" does not configure the compiler settings in FlexBuilder/FlashBuilder correctly. To be able to compile and run the application in the Builder you have to set the compiler settings similar to this:
-locale=en_US,de_DE -source-path=..\resources\locale\{locale} -allow-source-path-overlap=true
In this example english and german localizations are available and the locale property files are located in the folder resources/locale/en_US and resources/locale/de_DE.
-------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------
%USERPROFILE%\.m2\settings.xml
<?xml version="1.0" encoding="UTF-8"?> <settings> <profiles> <profile> <id>flex-mojos</id> <repositories> <!-- Required for regular plugin use until moved over to Maven central repo. --> <repository> <id>flex-mojos-repository</id> <url>http://repository.sonatype.org/content/groups/flexgroup/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> <!-- Required for building plugin from source. --> <repository> <id>flex-mojos-internal-repository</id> <url>http://repository.sonatype.org/content/groups/public/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <!-- Required for regular plugin use until moved over to Maven central repo. --> <pluginRepository> <id>flex-mojos-plugin-repository</id> <url>http://repository.sonatype.org/content/groups/flexgroup/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </pluginRepository> <!-- Required for building plugin from source. --> <pluginRepository> <id>flex-mojos-internal-plugins-repository</id> <url>http://repository.sonatype.org/content/groups/public/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> </pluginRepositories> </profile> </profiles> <activeProfiles> <activeProfile>flex-mojos</activeProfile> </activeProfiles> </settings>