[
http://jira.codehaus.org/browse/MBUILDHELPER-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=247382#action_247382
]
Paul Gier commented on MBUILDHELPER-21:
---------------------------------------
The
[buildnumber-maven-plugin|http://mojo.codehaus.org/buildnumber-maven-plugin/]
currently mixes timestamp with getting the scm revision number, but as of
[MOJO-1422|http://jira.codehaus.org/browse/MOJO-1422], you will be able to get
a timestamp by itself.
> 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