...
We also use configuration and build profiles to do specific deployments on servers. For example to deploy a demo Qcadoo MES instance on our internal test server in Qcadoo Limited called emhyr we use the following command:
mvn clean deploy -Pemhyr,tomcat,compressResources -Dprofile=emhyr-demo
The -PcompressResources is and additional profile which makes the application resources take less size.