You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Petr Prochazka (JIRA)" <ji...@codehaus.org> on 2012/06/21 15:00:21 UTC

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

Petr Prochazka created MCHANGES-282:
---------------------------------------

             Summary: New parameter releaseDateLocale in changes-check goal
                 Key: MCHANGES-282
                 URL: https://jira.codehaus.org/browse/MCHANGES-282
             Project: Maven 2.x Changes Plugin
          Issue Type: Improvement
    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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCHANGES-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MCHANGES-282:
-------------------------------------

    Component/s: changes.xml
    
> New parameter releaseDateLocale in changes-check goal
> -----------------------------------------------------
>
>                 Key: MCHANGES-282
>                 URL: https://jira.codehaus.org/browse/MCHANGES-282
>             Project: Maven 2.x 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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

Posted by "Petr Prochazka (JIRA)" <ji...@codehaus.org>.
     [ https://jira.codehaus.org/browse/MCHANGES-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Petr Prochazka updated MCHANGES-282:
------------------------------------

    Attachment: changes-check.patch

Patch + unit test changes.
                
> New parameter releaseDateLocale in changes-check goal
> -----------------------------------------------------
>
>                 Key: MCHANGES-282
>                 URL: https://jira.codehaus.org/browse/MCHANGES-282
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>    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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira