[
http://jira.codehaus.org/browse/MBUILDHELPER-21?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=215149#action_215149
]
Joerg Schaible commented on MBUILDHELPER-21:
--------------------------------------------
@Robert: Thanks, this will solve my primary problem.
@Dan:
# buildnumber plugin is really very unfortunate, because it will execute in any
case a shell script calling subversion and would increase out build time with
~300 artifacts tremendously
# I am not tied to a name of the goal. However, you may use the goal multiple
times with different configuration to get a variable with current year, a
timestamp, a localized long date, UTC time, etc. The goal name should IMHO
reflect this possibility.
> 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