Tag Archives: deploy

Deploying to Tomcat 7 with Maven

It may be desirable to have Maven automatically redeploy the application(s) to a test server on builds. This may be useful in a Continuous Integration (CI) scenario where we want some system running the latest build.
In this example, we want Tomcat updated with the latest build whenever we put an updated build in the Maven repository.

Maven release plugin

If you’re doing this sort of process manually it will take a while. Instead, it can be done by Maven using two goals – release:prepare and release:perform.