I built a web application using Apache Struts2 and need to version static resources in order to enable caching inside browsers. I have all the resources checked into Subversion.
Is there a solution possible, such that Maven checks-out the static resources at the build time and reads the latest SVN revision number of a static file and accordingly add version number in it's URL and replace it inside the HTML templates using filter properties?