Displaying version and date of build in the xhtml page
问题 I want to display the build version and build date on the footer of a JSF application. The pages are XHTML. I'm looking for ways to get the information from pom.xml or other artifacts. I found the following that uses maven-replace plugin. http://www.vineetmanohar.com/2010/09/how-to-display-maven-project-version-in-your-webapp/ Are there any other techniques you use? I'm looking for something like this with JSF - Displaying the build date 回答1: One approach that will work: use Maven filtering