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

pkarwasz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/logging-log4j-kotlin.git

commit f028f22f8f195e9d068a870d2c693eaf9723e034
Author: Raman Gupta <[email protected]>
AuthorDate: Mon Dec 11 17:23:32 2023 -0500

    build: add project.build.outputTimestamp
---
 pom.xml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/pom.xml b/pom.xml
index ddc8d63..78c5fa0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -127,6 +127,15 @@
     <!-- project version -->
     <revision>1.4.0-SNAPSHOT</revision>
 
+    <!-- `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-11-17T08:52:06Z</project.build.outputTimestamp>
+
     <!-- disable `maven-site-plugin`-->
     <maven.site.skip>true</maven.site.skip>
     <maven.site.deploy.skip>true</maven.site.deploy.skip>

Reply via email to