...
For example the binary release of Qcadoo qcadoo is build using -Ptomcat argument. This is done using the below command in the directory qcadoo-src/mes:
mvn clean install -Ptomcat -Dprofile=tomcat
the above will build the binary distribution to the qcadoo-src/mes/mes-application/tomcat-archiver/mes-application directory.
...
We also use configuration and build profiles to do specific deployments on servers. For example to deploy a demo Qcadoo qcadoo MES instance on our internal test server in Qcadoo Limited called emhyr we use the following command:
...