This is an automated email from the ASF dual-hosted git repository.
vy pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new c239716d11 Improve config for reproducible builds
c239716d11 is described below
commit c239716d11ded8b240e861f728db29cb5b1732a2
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Tue Feb 14 21:46:24 2023 +0100
Improve config for reproducible builds
---
pom.xml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/pom.xml b/pom.xml
index fd586bf6cf..78c3c1ff17 100644
--- a/pom.xml
+++ b/pom.xml
@@ -247,9 +247,8 @@
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- <!-- See
https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
- <!-- 1672527600 = 2023-01-01, instead of the default 1969, which shows up
in Javadoc -->
- <project.build.outputTimestamp>1672527600</project.build.outputTimestamp>
+ <!-- Fixed `project.build.outputTimestamp` is required for reproducible
builds: https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
+ <project.build.outputTimestamp>0</project.build.outputTimestamp>
<docLabel>Site Documentation</docLabel>
<projectDir/>
<module.name/>
@@ -1622,7 +1621,9 @@
</goals>
</execution>
</executions>
- <configuration>
+ <configuration combine.self="override">
+ <!-- `notimestamp` avoids `diff` noise and is required for
reproducible builds:
https://maven.apache.org/guides/mini/guide-reproducible-builds.html -->
+ <notimestamp>true</notimestamp>
<skip>${javadoc.skip}</skip>
<bottom><![CDATA[
<p align="center">