I am using maven 3.0.4 and would like to make the build timestamp accessible to my application. For this, I\'m putting a placeholder in a .properties file and l
I have discovered this article, explaining that due to a bug in maven, the build timestamp does not get propagated to the filtering. The workaround is to wrap the timestamp in another property:
${maven.build.timestamp}
yyyy-MM-dd HH:mm
Filtering then works as expected for
buildTimestamp=${timestamp}