You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2009/05/14 00:55:45 UTC

[jira] Commented: (MNG-2562) expose current time as a property for POM interpolation

    [ http://jira.codehaus.org/browse/MNG-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=176331#action_176331 ] 

Wendy Smoak commented on MNG-2562:
----------------------------------

A user asked about this on irc:

benson0: I'm lost in the maze of MNG-3718. Can someone just tell me the ${} to access a readable build date in 2.1.0? None of the syntaxes mentioned in the jiras seem to be right.
jason: ${build.timestamp}

I can't find it anywhere in the site, however grep does turn up a mention in maven-project-spec.tex as well as the code/tests.


> expose current time as a property for POM interpolation
> -------------------------------------------------------
>
>                 Key: MNG-2562
>                 URL: http://jira.codehaus.org/browse/MNG-2562
>             Project: Maven 2
>          Issue Type: New Feature
>          Components: Inheritance and Interpolation
>            Reporter: Brett Porter
>            Assignee: John Casey
>             Fix For: 2.1.0-M1
>
>
> it is useful to have the current time, for example to write out a manifest entry for the build time or to filter into another file.
> I'm not sure of the best way to make the format of the time configurable - perhaps another POM element/property.
> See the related issue for a current example of how this can be done, but it would be nice to have a built-in.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira