Skip to content

Commit 13bc2d5

Browse files
committed
build: pin javadoc copyright footer to avoid 1980 year
The maven-javadoc-plugin derives the footer copyright year from the build timestamp. In a reproducible-build environment (SOURCE_DATE_EPOCH=0), that clamps to 1980, so published -javadoc artifacts (e.g. 2.3.0) show 'Copyright (c) 1980' and drop the generation date. Set an explicit year-less <bottom> so the footer no longer depends on the build clock, keeping builds reproducible while rendering a correct notice.
1 parent d97694b commit 13bc2d5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎pom.xml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@
171171
<version>3.12.0</version>
172172
<configuration>
173173
<doclint>none</doclint>
174+
<!-- Fixed footer so the copyright year is not derived from the
175+
build timestamp. Without this, a reproducible-build
176+
environment (SOURCE_DATE_EPOCH=0) renders the footer year as
177+
1980. A year-less notice keeps builds reproducible and
178+
regression-proof. -->
179+
<bottom>Copyright &#169; Amazon.com, Inc. or its affiliates. All rights reserved.</bottom>
174180
</configuration>
175181
</plugin>
176182
</plugins>

0 commit comments

Comments
 (0)