I'd like to deploy a war project on a remote tomcat server on maven build. There seems to be a plugin tomcat-maven-plugin
that is capable of this.
But I also have to start a batch script prior to deployment that stops some processes and shuts the tomcat server down safely. Is it also possible to execute such a remote script by maven just before the deployment?