Add Git commit SHA to artifacts using buildnumber-maven-plugin (#18227)
This pull request introduces the buildnumber-maven-plugin to the Apache Beam project to include the Git commit SHA in the MANIFEST.MF file of the generated artifacts. This update helps in identifying the commit associated with each build and ensures traceability.
The changes are made to the pom.xml file, where the plugin is configured to retrieve the Git commit SHA and include it in the artifact’s metadata.
This PR solves issue #18227 by adding a mechanism to automatically attach the Git commit SHA to the built artifact.
Assigning reviewers. If you would like to opt out of this review, comment assign to next reviewer:
R: @chamikaramj for label java.
Available commands:
stop reviewer notifications- opt out of the automated review toolingremind me after tests pass- tag the comment author after tests passwaiting on author- shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)
The PR bot will only process comments in the main thread (not review comments).
Reminder, please take a look at this pr: @chamikaramj
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:
R: @kennknowles for label java.
Available commands:
stop reviewer notifications- opt out of the automated review toolingremind me after tests pass- tag the comment author after tests passwaiting on author- shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)
Reminder, please take a look at this pr: @kennknowles
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:
R: @robertwb for label java.
Available commands:
stop reviewer notifications- opt out of the automated review toolingremind me after tests pass- tag the comment author after tests passwaiting on author- shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)
Reminder, please take a look at this pr: @robertwb
I don't know this well enough to know if there is any risk. @Abacn do you know?
There is some misunderstanding here. maven-archetype is shipped as source codes, used as template project. When user work on such project, there is no assumption they will use git or want this traceability on their own project. I think we should close this.
Reminder, please take a look at this pr: @robertwb
Assigning new set of reviewers because Pr has gone too long without review. If you would like to opt out of this review, comment assign to next reviewer:
R: @chamikaramj for label java.
Available commands:
stop reviewer notifications- opt out of the automated review toolingremind me after tests pass- tag the comment author after tests passwaiting on author- shift the attention set back to the author (any comment or push by the author will return the attention set to the reviewers)
Reminder, please take a look at this pr: @chamikaramj