You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Chris Hagmann (JIRA)" <ji...@codehaus.org> on 2006/01/01 02:25:12 UTC

[jira] Commented: (MNG-1832) built-in property containing current timestamp

    [ http://jira.codehaus.org/browse/MNG-1832?page=comments#action_54631 ] 

Chris Hagmann commented on MNG-1832:
------------------------------------

I basically need access to the timestamp to create a JAR manifest entry similar to the following:

Build-date: 20051231-1841

Ideally we should be able to format the timestamp, but that is not absolutely necessary.

P.S: I'm using a custom manifest template (not as part of pom.xml) and use filtering to prepare the manifest file. E.g. My template looks like:

Package: ${product.name}
Build-Date: ${timestamp}
Specification-Title: ${product.name}
Specification-Version: ${product.specification.version}
Specification-Vendor: ${pom.organization.name}
Implementation-Title: ${product.name}
Implementation-Version: ${pom.version}
Implementation-Vendor: ${pom.organization.name}
...
...



> built-in property containing current timestamp
> ----------------------------------------------
>
>          Key: MNG-1832
>          URL: http://jira.codehaus.org/browse/MNG-1832
>      Project: Maven 2
>         Type: New Feature

>     Versions: 2.0.1
>     Reporter: Michal Stochmialek

>
>
> Current timestamp (time or date) is often used while filtering resources or creating manifest in ant builds. There is no equivalent in maven.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org