I\'ve got mavenized Android application and customer wants support for the skinning at build time.
For example: mvn clean install -P Developer, mvn clean install -P
Based on the answer from yorkw, this solution works for me:
For each profile, resourceDirectory needs to be added into to the configuration of the android maven plugin.
For example:
<resourceDirectory>${project.basedir}/res-customer1</resourceDirectory>
<resourceDirectory>${project.basedir}/res-customer2</resourceDirectory>
etc...
If you want to use different assets or resources for different buid profiles and if you even want to merge multiple such directories of each build differently, you can follow this great blog post:
https://ebuddytechblog.wordpress.com/2013/04/08/branded-android-builds-using-maven/