Versions Static Resources with Struts2 and Maven

I have built a web application using Apache Struts2 and you need to set up static resources to enable caching inside browsers. I have all the resources checked out in Subversion.

Is there a possible solution so that Maven checks the static resources at build time and reads the latest SVN version number for the static file and adds the version number to the URL accordingly and replaces it inside HTML templates using a property filter?

+3
java maven browser-cache struts2 static-resource


source to share


No one has answered this question yet

Check out similar questions:

2240
How to create an executable JAR with dependencies using Maven?
1636
Java inner class and static nested class
1520
How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version
1011
How do I add local jar files to a Maven project?
768
What is Maven Snapshot and why do we need it?
670
How do I tell Maven to use the latest dependency?
665
Force maven update
646
Working with "Xerces hell" in Java / Maven?
1
Maven SVN Dependencies
0
Is it possible to read the version id of a specific path in git with maven?



All Articles
Loading...
X
Show
Funny
Dev
Pics