...
For developer testing you might want to also just run the build on jetty. To do this just use the following command:
mvn ./jetty:-run.sh -Dprofile=profile_name
jetty-run.sh (and jetty-run.bat for windows users) was introduced to eliminate need of explicity appending -javaagent:/path/to/aspectjweaver.jar every time you run Jetty.
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:
...