Skip to content

Commit ea0787f

Browse files
committed
build: pin project.build.outputTimestamp for javadoc copyright year
The maven-javadoc-plugin derives the footer copyright year from project.build.outputTimestamp under reproducible builds. The parent POM pinned no timestamp, so a build run with SOURCE_DATE_EPOCH=0 floored the year to 1980 (seen in published 2.3.0 -javadoc artifacts). Pin the timestamp to the release date so the footer renders a real year (2026) independent of the build environment, keeping builds reproducible.
1 parent d97694b commit ea0787f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎pom.xml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@
5454
<maven.compiler.source>17</maven.compiler.source>
5555
<maven.compiler.target>17</maven.compiler.target>
5656
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
57+
<!-- Pin the build timestamp so reproducible builds render a real
58+
copyright year in generated javadoc footers. Without a pin, a
59+
build run with SOURCE_DATE_EPOCH=0 floors the year to 1980.
60+
Bump this on each release to the release date. -->
61+
<project.build.outputTimestamp>2026-09-25T23:46:32Z</project.build.outputTimestamp>
5762
<aws.sdk.version>2.57.3</aws.sdk.version>
5863
<jackson.version>2.22.4</jackson.version>
5964
<junit.version>6.1.3</junit.version>

0 commit comments

Comments
 (0)