Skinning Android app with Maven build profiles

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…

Leave a Comment