The plugin provides goals to perform various tasks upon your project's context once deployed within Tomcat:
These are described in more detail below.
The goals required to redeploy a WAR project depend upon how it was deployed:
mvn package tomcat:redeploy
mvn war:exploded tomcat:redeploy
mvn war:inplace tomcat:redeploy
mvn tomcat:redeploy
Note: Depending on the docBase specified in the context.xml you may also need to call war:exploded or war:inplace as above.
To list the session statistics for a deployed WAR project you can type:
mvn tomcat:sessions