rahul dhiman
rahul dhiman

Reputation: 1

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

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

Upvotes: -1

Views: 173

Answers (1)

Gerold Broser
Gerold Broser

Reputation: 14762

See the exec goal of th Exec Maven Plugin:

A Plugin for executing external programs.

Upvotes: 0

Related Questions