aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kriegisch <Alexander@Kriegisch.name>2021-03-21 17:42:34 +0700
committerAlexander Kriegisch <Alexander@Kriegisch.name>2021-03-21 17:42:34 +0700
commit0012982c7e012903ffdb5dfe5fa84ccf270b3b9d (patch)
tree448ad3f1787054f5898241a8f01dac5d04e45058
parentecb5320c7b61d72edbf4a440e4996171a9c8f7dd (diff)
downloadaspectj-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>
-rw-r--r--bridge/pom.xml1
-rw-r--r--build/pom.xml8
2 files changed, 6 insertions, 3 deletions
diff --git a/bridge/pom.xml b/bridge/pom.xml
index eae496e79..2ab25be17 100644
--- a/bridge/pom.xml
+++ b/bridge/pom.xml
@@ -37,6 +37,7 @@
<name>version.time_text</name>
<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>
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>