[
http://jira.codehaus.org/browse/MBUILDHELPER-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215132#action_215132
]
Robert Scholte commented on MBUILDHELPER-21:
--------------------------------------------
Most people don't know this, but since maven-2.1.0 there's a special/magic
variable which does almost the same thing, namely {{maven.build.timestamp}} :
More details can be found here:
http://maven.apache.org/guides/introduction/introduction-to-the-pom.html#Available_Variables
> new goal "current-time"
> -----------------------
>
> Key: MBUILDHELPER-21
> URL: http://jira.codehaus.org/browse/MBUILDHELPER-21
> Project: Maven 2.x Build Helper Plugin
> Issue Type: New Feature
> Reporter: Joerg Schaible
> Priority: Minor
>
> The goal should provide "now" as formatted string in a property. The goal
> should have 4 parameters:
> # timeZone: A time zone string (like UTC or Europe/Berlin) used to transform
> the local time with TZ.getDefault() as default
> # format: A string passed to a SimpleDateFormat using something like
> "yyyy-MM-dd'T'HH:mm:ss.SSSZ" as default
> # locale: The locale used for the formatted string using Locale.ENGLISH as
> default
> # currentTimeProperty: The name of the property in which to store the result
--
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 from this list, please visit:
http://xircles.codehaus.org/manage_email