I have a web app in Maven, with the default directory structure. No problem there. The default directory structure has some property files that point to my localhost database.
Currently I create an Ant script to create different war files - one for production and one for development, using these commands:
ant deploy-dev
ant deploy-prod
ant deploy-sit
ant deploy-uat
So basically they create a war file and then update the war file by plugging in the properties file
Is there something like that in maven (different war created depending on the configuration)?
if so, how do i do that?
i tried mvn warbut it just creates a war