Update maven-gpg-plugin in publishing - #50266
Merged
Alan Zimmer (alzimmermsft) merged 5 commits intoAug 28, 2026
Merged
Conversation
|
Azure Pipelines: Successfully started running 2 pipeline(s). 33 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Alan Zimmer (alzimmermsft)
marked this pull request as ready for review
August 28, 2026 18:45
Alan Zimmer (alzimmermsft)
requested review from
Ben Broderick Phillips (benbp),
Mike Harder (mikeharder) and
Ray Chen (raych1)
as code owners
August 28, 2026 18:45
Copilot started reviewing on behalf of
Alan Zimmer (alzimmermsft)
August 28, 2026 18:46
View session
|
Azure Pipelines: Successfully started running 2 pipeline(s). 33 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Maven publishing/signing infrastructure used by the engineering pipelines, primarily by bumping the maven-gpg-plugin version used for sign-and-deploy-file in release scripts and tweaking checkout/script behavior in release pipeline templates.
Changes:
- Bump
org.apache.maven.plugins:maven-gpg-pluginfrom3.2.7to3.2.8in Maven signing/publishing scripts. - PowerShell script cleanups (avoid
%alias; adjust null-check style) and add Maven debug flags for the local-GPG path. - Update release archetype templates to set
fetchTags: falseduringcheckout: selfwith shallow clones.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| eng/scripts/SignAndHash-MavenPackages.ps1 | Updates hardcoded maven-gpg-plugin version used during signing/hashing. |
| eng/scripts/Publish-MavenPackages.ps1 | Updates maven-gpg-plugin version and adjusts PowerShell/Maven invocation behavior. |
| eng/pipelines/templates/stages/archetype-java-release-pom-only.yml | Disables tag fetching on shallow checkout: self for the signing stage. |
| eng/pipelines/templates/stages/archetype-java-release-patch.yml | Disables tag fetching on shallow checkout: self for the signing stage. |
| eng/pipelines/templates/stages/archetype-java-release-batch.yml | Disables tag fetching on shallow checkout: self for the signing stage. |
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
vcolin7
approved these changes
Aug 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines