Maven Timestamp Support

From NovaOrdis Knowledge Base
Revision as of 18:50, 16 November 2016 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

External

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".