Skip to content

build: set fixed project.build.outputTimestamp for reproducible builds - #1094

Merged
delei merged 1 commit into
apache:mainfrom
alaahong:chore/reproducible-build-timestamp
Sep 11, 2026
Merged

delei merged 1 commit into
apache:mainfrom
alaahong:chore/reproducible-build-timestamp

Conversation

@alaahong

Copy link
Copy Markdown
Member

Summary

Sets a fixed ISO-8601 \project.build.outputTimestamp\ in \pom.xml\ so every build of a release produces identical artifacts, satisfying reproducible-build requirements.

If the value is left empty, each build records a different timestamp and the resulting JARs are not reproducible.

Also documents this step in the community release guide (EN + zh-cn) so future releases remember to pin the timestamp to the release branch creation time.

Changes

  • \pom.xml: set \project.build.outputTimestamp\ to \2026-09-10T00:00:00Z\ (fixed value) and clarify the comment.
  • \website/community/release/release-version.md: add reproducible-build step under section 3.3.1.
  • \website/i18n/zh-cn/.../release-version.md: same, in Chinese.

Test Plan

  • n/a (config + docs only).

Set a fixed ISO-8601 outputTimestamp in pom.xml so every build produces
identical artifacts, as required for reproducible builds. Also document
this step in the community release guide (EN + zh-cn) with a reference to
the Maven reproducible-builds guide.

@delei delei left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@delei
delei merged commit 3be8b48 into apache:main Sep 11, 2026
11 checks passed
@delei

delei commented Sep 11, 2026

Copy link
Copy Markdown
Member

Closed #1080

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants