GeezerVison is showing github.com — [core] Support reproducible builds by adangel · Pull Request #2444 · pmd/pmd
Conversation
adangel
commented
Apr 25, 2020
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Describe the PR
This will allow to produce reproducible builds of PMD.
See https://reproducible-builds.org/ and
https://maven.apache.org/guides/mini/guide-reproducible-builds.html
The property "project.build.outputTimestamp" is supposed to be updated
automatically by maven-release-plugin when updating the version
(goal prepare).
Related issues
No issues.
Ready?
- Added unit tests for fixed bug/feature
- Passing all unit tests
- Complete build
./mvnw clean verify passes (checked automatically by travis)
- Added (in-code) documentation (if needed)
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
1 Message
|
| 📖 |
No java rules are changed! |
Generated by 🚫 Danger
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Maybe we should describe this somewhere in BUILDING.md? Especially, including the warnings listed on the maven page:
Notice: Reproducible Builds for Maven:
- Generally give different results on Windows and Unix because of different newlines. (carriage return linefeed on Windows, linefeed on Unixes)
- Generally depend on the major version of the JDK used to compile. (Even with source/target defined, each major JDK version changes the generated bytecode.)
|
adangel reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I've also tested now, that on release:prepare the timestamp in "project.build.outputTimestamp" is updated accordingly on the tag and the new timestamp then also in the next development version. In summary, this timestamp always contains the timestamp of the last release.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.