Guys,
I would like to automate the following process:
(1) call mvn clean install on my project
(2) stop the
Tomcat instance if already running
(3) after Tomcat is stopped, delete the war from its webapp directory
(4) copy the war file from the specific location of my project
(5) start Tomcat
I guess this is the task that is usually done by the scm guys. I would like to try this out by myself. Suggestions and ideas needed.