Thanks a lot, here is what I did:
Three resource directories:
main/resources-development
main/resources-testing
main/resources-production
I setup three
maven profiles, when specified they will overwrite any main/resources files with the appropriate ones.
pom.xml:
Profiles are ran using the -P option:
mvn clean package -Ptesting