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

        

Reply via email to