Skip to content

Commit c3bd3e8

Browse files
committed
Document project.build.outputTimestamp
1 parent 613b520 commit c3bd3e8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,14 @@
314314
<!-- JDK version of the main Maven process (used in ASF parent POM) -->
315315
<minimalJavaBuildVersion>[11,12)</minimalJavaBuildVersion>
316316
<module.name />
317+
318+
<!-- `project.build.outputTimestamp` is required to be present for reproducible builds.
319+
We actually inherit one from the `org.apache:apache` through our parent `org.apache.logging:logging-parent`.
320+
Though inheriting this property has two undesired consequences:
321+
1. `artifact:compare` dumps an `ERROR` log stating that this `property should not be inherited but defined` (apache/logging-parent#50)
322+
2. This value is employed in various places while creating the distribution
323+
To mitigate these, we define a *dummy* value here and let the CI replace it during a release.
324+
Hence, *DO NOT MANUALLY EDIT THIS VALUE*! -->
317325
<project.build.outputTimestamp>2023-11-17T08:52:06Z</project.build.outputTimestamp>
318326

319327
<!-- ========================
@@ -328,6 +336,7 @@
328336
It is manually enabled only for this root module below. -->
329337
<maven.site.skip>true</maven.site.skip>
330338
<maven.site.deploy.skip>true</maven.site.deploy.skip>
339+
331340
</properties>
332341

333342
<dependencyManagement>

0 commit comments

Comments
 (0)