Skip to content

Conversation

snazy
Copy link
Member

@snazy snazy commented Aug 21, 2025

As described in #2204, some jar manifest attributes prevent having a reproducible build, to eventually be able to generate the exact same artifacts on different systems at different times. Committers shall then be able to re-run the build and compare proposed release artifacts bit-by-bit.

This change changes the jar manifest attributes:

  • Apache-Polaris-Is-Release is now also set to true, if -PjarWithGitInfo is specified
  • Apache-Polaris-Build-Git-Describe is now also generated, if -PjarWithGitInfo is specified
  • Apache-Polaris-Build-Java-Version has been removed
  • Apache-Polaris-Build-Java-Specification-Version has been added (it's only the Java major version)
  • Apache-Polaris-Build-Timestamp has been removed
  • Apache-Polaris-Build-System has been removed

Contributes to: #2204

As described in apache#2204, some jar manifest attributes prevent having a reproducible build, to eventually be able to generate the _exact_ same artifacts on different systems at different times. Committers shall then be able to re-run the build and compare proposed release artifacts bit-by-bit.

This change changes the jar manifest attributes:
* `Apache-Polaris-Is-Release` is now also set to `true`, if `-PjarWithGitInfo` is specified
* `Apache-Polaris-Build-Git-Describe` is now also generated, if `-PjarWithGitInfo` is specified
* `Apache-Polaris-Build-Java-Version` has been removed
* `Apache-Polaris-Build-Java-Specification-Version` has been added (it's only the Java major version)
* `Apache-Polaris-Build-Timestamp` has been removed
* `Apache-Polaris-Build-System` has been removed

Contributes to: apache#2204
@github-project-automation github-project-automation bot moved this from PRs In Progress to Ready to merge in Basic Kanban Board Aug 21, 2025
@snazy snazy merged commit 1d15128 into apache:main Sep 9, 2025
12 checks passed
@snazy snazy deleted the manifest-reproducible branch September 9, 2025 12:00
@github-project-automation github-project-automation bot moved this from Ready to merge to Done in Basic Kanban Board Sep 9, 2025
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