-
Notifications
You must be signed in to change notification settings - Fork 36
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
[#440] Simplify reproducible builds #441
[#440] Simplify reproducible builds #441
Conversation
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.
There is this "warning" shown at the beginning
[INFO] --- artifact:3.6.0:compare (default-cli) @ parent ---
[ERROR] Reproducible Build not activated by project.build.outputTimestamp property: see https://maven.apache.org/guides/mini/guide-reproducible-builds.html
[ERROR] project.build.outputTimestamp = "${git.commit.time}": isn't Git value set?
[ERROR] Did validate phase run and Git plugin set the value?
[ERROR] if using git-commit-id-plugin, <skipPoms>false</skipPoms> may solve the issue.
Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)
Maven home: /home/pedro/.opt/jdk/maven
Java version: 23.0.2, vendor: Eclipse Adoptium, runtime: /home/pedro/.opt/jdk/jdk-23.0.2+7
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "6.13.5-2-manjaro", arch: "amd64", family: "unix"
parent/pom.xml
Outdated
<build> | ||
<plugins> | ||
<plugin> |
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.
Should this be outside the profile? Although we don't need it in the product (AFAIK), it would be nice to have reproducible builds all the time. Just my 2 cents.
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.
Right, I've moved it out of the profile.
b8b873d
to
79e0792
Compare
* Use the git-commit-id in native mode * Drop buildnumber plugin
79e0792
to
58ec076
Compare
@pruivo running the
|
If I set |
Closes #440