-
Notifications
You must be signed in to change notification settings - Fork 15
docs: add blog article about reproducible builds. #195
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
Conversation
✅ Deploy Preview for open-elements ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
content/posts/2025-08-x-support-and-care-reproducible-builds.md
Outdated
Show resolved
Hide resolved
content/posts/2025-08-x-support-and-care-reproducible-builds.md
Outdated
Show resolved
Hide resolved
content/posts/2025-08-x-support-and-care-reproducible-builds.md
Outdated
Show resolved
Hide resolved
content/posts/2025-08-x-support-and-care-reproducible-builds.md
Outdated
Show resolved
Hide resolved
content/posts/2025-08-x-support-and-care-reproducible-builds.md
Outdated
Show resolved
Hide resolved
content/posts/2025-08-x-support-and-care-reproducible-builds.md
Outdated
Show resolved
Hide resolved
content/posts/2025-08-x-support-and-care-reproducible-builds.md
Outdated
Show resolved
Hide resolved
content/posts/2025-08-x-support-and-care-reproducible-builds.md
Outdated
Show resolved
Hide resolved
But what about reproducability? | ||
Let's run _mvn clean verify artifact:compare_ and find out. | ||
(Screenshot) | ||
Oh. We are not? No, even worse: we are practically never. Having a look at the generated .buildinfo-file while executing the Artifact plugin again shows that our hash is changing with every build. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add the buildinfo-file here
Oh. We are not? No, even worse: we are practically never. Having a look at the generated .buildinfo-file while executing the Artifact plugin again shows that our hash is changing with every build. | ||
The console gives us some hints, and it looks like, we didn't make our homework properly. | ||
Let's add the property project.build.outputTimestamp to the pom with a default value. Otherwise, our build timestamp will vary everytime we build and therefore the corresponding hash is also changing everytime. | ||
Now we can consider our build reproducible! So we are save. But how long? What happens, if I modify the JVM, I build my project with? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, we should try it and see that it is reproducible
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the build is reproducible, there is no output anymore.
No description provided.