This is an automated email from the ASF dual-hosted git repository.

vy pushed a commit to branch release/13.1.0
in repository https://gitbox.apache.org/repos/asf/logging-log4j-scala.git


The following commit(s) were added to refs/heads/release/13.1.0 by this push:
     new 1285a2f  Add `project.build.outputTimestamp` Maven property
1285a2f is described below

commit 1285a2f85f0961a8c775d92bf2c9aa161f55709a
Author: Volkan Yazıcı <[email protected]>
AuthorDate: Thu Feb 1 10:39:00 2024 +0100

    Add `project.build.outputTimestamp` Maven property
---
 pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/pom.xml b/pom.xml
index bcc4640..3472e20 100644
--- a/pom.xml
+++ b/pom.xml
@@ -127,6 +127,15 @@
     <maven.compiler.target>8</maven.compiler.target>
     <maven.compiler.release>8</maven.compiler.release>
 
+    <!-- `project.build.outputTimestamp` is required to be present for 
reproducible builds.
+         We actually inherit one from the `org.apache:apache` through our 
parent `org.apache.logging:logging-parent`.
+         Though inheriting this property has two undesired consequences:
+         1. `artifact:compare` dumps an `ERROR` log stating that this 
`property should not be inherited but defined` (apache/logging-parent#50)
+         2. This value is employed in various places while creating the 
distribution
+         To mitigate these, we define a *dummy* value here and let the CI 
replace it during a release.
+         Hence, *DO NOT MANUALLY EDIT THIS VALUE*! -->
+    
<project.build.outputTimestamp>2023-12-22T14:39:06Z</project.build.outputTimestamp>
+
     <!--
       ~ Common OSGi and JPMS configuration.
       ~ Don't overwrite in modules!

Reply via email to