diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-03-21 17:42:34 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2021-03-21 17:42:34 +0700 |
commit | 0012982c7e012903ffdb5dfe5fa84ccf270b3b9d (patch) | |
tree | 448ad3f1787054f5898241a8f01dac5d04e45058 /build | |
parent | ecb5320c7b61d72edbf4a440e4996171a9c8f7dd (diff) | |
download | aspectj-0012982c7e012903ffdb5dfe5fa84ccf270b3b9d.tar.gz aspectj-0012982c7e012903ffdb5dfe5fa84ccf270b3b9d.zip |
Set explicit en_US locale for build timestamps in Build Helper Maven
There were warnings that builds were dependent on the system local
(de_DE in my case). In patterns like "EEEE MMM d, yyyy", parts like day
of week or month names would change otherwise.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to 'build')
-rw-r--r-- | build/pom.xml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/build/pom.xml b/build/pom.xml index f486bb1d5..61610af7d 100644 --- a/build/pom.xml +++ b/build/pom.xml @@ -44,9 +44,9 @@ <configuration> <name>build.date</name> <pattern>E MMM d, YYYY</pattern> - <timeZone>Europe/Zurich</timeZone> - <!-- build.date: Monday Feb 4, 2019 --> <timeZone>America/Los_Angeles</timeZone> + <locale>en_US</locale> + <!-- build.date: Monday Feb 4, 2019 --> </configuration> </execution> <execution> @@ -56,11 +56,12 @@ </goals> <configuration> <name>build.time</name> - <!-- + <!-- <pattern>E MMM d, YYYY 'at' HH:MM:SS z</pattern> --> <pattern>EEEE MMM d, yyyy 'at' HH:mm:ss z</pattern> <timeZone>America/Los_Angeles</timeZone> + <locale>en_US</locale> <!-- build.time: Monday Feb 4, 2019 at 23:50:25 GMT --> </configuration> </execution> @@ -73,6 +74,7 @@ <name>build.year</name> <pattern>YYYY</pattern> <timeZone>America/Los_Angeles</timeZone> + <locale>en_US</locale> <!-- year: 2019 --> </configuration> </execution> |