Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Maven goal / plugin to touch a file

Hi I'm looking for a way to touch a file using maven. The specific user case for this is touching a ".reload" file in order to force Glassfish to redeploy an Application.

like image 221
Anthony Accioly Avatar asked May 26 '11 21:05

Anthony Accioly


1 Answers

These possibilities come to mind:

  • Use the antrun plugin and the <touch> task
  • Use the GMaven plugin and touch the file programmatically using Groovy
like image 51
Sean Patrick Floyd Avatar answered Nov 01 '22 15:11

Sean Patrick Floyd