[ 
https://jira.codehaus.org/browse/MCHANGES-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg closed MCHANGES-282.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.10
         Assignee: Dennis Lundberg

The patch was applied in 
[r1585646|http://svn.apache.org/viewvc?view=revision&revision=1585646].

I modified the patch so that there is no default value for the new parameter. 
This better mimics the old behavior. If you need a locale then you specify the 
parameter, otherwise you get the system's default locale.

> 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
>            Assignee: Dennis Lundberg
>            Priority: Minor
>             Fix For: 2.10
>
>         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)

Reply via email to