Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.7.1
-
None
-
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"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"
-
Patch
Description
I have defined parameter
releaseDateFormat=E MMM dd yyyy
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
MAVEN_OPTS=-Duser.language=en -Duser.region=US
, but better is define locale in configuration.
<configuration> <releaseDateLocale>en_US</releaseDateLocale> </configuration>