Maven Timestamp Support
Jump to navigation
Jump to search
External
- Adding the current date with Maven2 filtering http://stackoverflow.com/questions/802677/adding-the-current-date-with-maven2-filtering
Internal
Overview
Define the following properties:
<project ...> ... <properties> <maven.build.timestamp.format>MM/dd/yy</maven.build.timestamp.format> <release_date>${maven.build.timestamp}</release_date> </properties> ... </project>
The timestamp will then be available for replacement and filtering as "release_date".