You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/03/23 12:44:59 UTC

[jira] (MCHANGES-282) New parameter releaseDateLocale in changes-check goal

    [ https://jira.codehaus.org/browse/MCHANGES-282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=343453#comment-343453 ] 

Michael Osipov commented on MCHANGES-282:
-----------------------------------------

Use ISO 8601 and your pain will go away.

> New parameter releaseDateLocale in changes-check goal
> -----------------------------------------------------
>
>                 Key: MCHANGES-282
>                 URL: https://jira.codehaus.org/browse/MCHANGES-282
>             Project: Maven Changes Plugin
>          Issue Type: Improvement
>          Components: changes.xml
>    Affects Versions: 2.7.1
>         Environment: Apache Maven 3.0.4 (r1232337; 2012-01-17 09:44:56+0100)
> Maven home: D:\usr\share\java\apache-maven
> Java version: 1.6.0_31, vendor: Sun Microsystems Inc.
> Java home: D:\usr\share\java\jdk\jre
> Default locale: cs_CZ, platform encoding: Cp1250
> OS name: "windows 7", version: "6.1", arch: "amd64", family: "windows"
>            Reporter: Petr Prochazka
>            Priority: Minor
>         Attachments: changes-check.patch
>
>
> I have defined parameter {code}releaseDateFormat=E MMM dd yyyy{code} and release dates are defined with English locale in changes.xml.
> If I run maven with other locale settings, then changes-check goal failed that release date has wrong format.
> Workaround for this behaivour is, defines english locale in {code}MAVEN_OPTS=-Duser.language=en -Duser.region=US{code}, but better is define locale in configuration.
> {code:xml}<configuration>
>   <releaseDateLocale>en_US</releaseDateLocale>
> </configuration>{code}



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)