title: How to auto clear Tomcat temp directory on server startup through maven
body: <p>I want to delete all the files and subdirectories from the temp folder of Tomcat 8+ version.</p>
  <p>In my application ActiveMQ is integrated which will create one folder inside temp folder of Tomcat on the server startup. So I want to clear my temp folder before creating another folder by ActiveMQ on server startup.</p>
  <p>Is there any way to define any maven plugin to achieve this or there is any other way to get this done?</p>