Skip to content

Commit 1285a2f

Browse files
committed
Add project.build.outputTimestamp Maven property
1 parent f51f816 commit 1285a2f

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
@@ -127,6 +127,15 @@
127127
<maven.compiler.target>8</maven.compiler.target>
128128
<maven.compiler.release>8</maven.compiler.release>
129129

130+
<!-- `project.build.outputTimestamp` is required to be present for reproducible builds.
131+
We actually inherit one from the `org.apache:apache` through our parent `org.apache.logging:logging-parent`.
132+
Though inheriting this property has two undesired consequences:
133+
1. `artifact:compare` dumps an `ERROR` log stating that this `property should not be inherited but defined` (apache/logging-parent#50)
134+
2. This value is employed in various places while creating the distribution
135+
To mitigate these, we define a *dummy* value here and let the CI replace it during a release.
136+
Hence, *DO NOT MANUALLY EDIT THIS VALUE*! -->
137+
<project.build.outputTimestamp>2023-12-22T14:39:06Z</project.build.outputTimestamp>
138+
130139
<!--
131140
~ Common OSGi and JPMS configuration.
132141
~ Don't overwrite in modules!

0 commit comments

Comments
 (0)