How to run shell script or command after undeploying WAR from tomcat

167 Views Asked by At

I have some symbolic links into my webapplication /WEB-INF folder that i want to get removed automatically everytime before my WAR has been undeployed. Is there any easy way to do that in Maven? Thanks

1

There are 1 best solutions below

0
Gerold Broser On

See the exec goal of th Exec Maven Plugin:

A Plugin for executing external programs.