Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reproducible Builds #19

Merged
merged 14 commits into from
Oct 6, 2023
Merged

Reproducible Builds #19

merged 14 commits into from
Oct 6, 2023

Conversation

overheadhunter
Copy link
Member

@overheadhunter overheadhunter commented Jan 28, 2022

This makes the building the jar reproducible. It can be verified by re-attempting CI-builds and comparing the artifacts.

Two caveats:

  • This requires JDK 18 (currently in EA) due to a bug in the jar tool related to timestamps of module-info.class files in MR-Jars: JDK-8258117
  • The project.build.outputTimestamp should be set for release builds (automatically updated when invoking mvn versions:set). I.e. it should not be changed by CI (which is currently the case). Instead it should be updated before tagging.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Feb 8, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@overheadhunter overheadhunter marked this pull request as ready for review October 5, 2023 06:10
Copy link
Member

@SailReal SailReal left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@overheadhunter overheadhunter merged commit 773590b into develop Oct 6, 2023
5 checks passed
@overheadhunter overheadhunter deleted the feature/reproducible-builds branch October 6, 2023 15:38
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