Skip to content

Update maven-gpg-plugin in publishing - #50266

Merged
Alan Zimmer (alzimmermsft) merged 5 commits into
Azure:mainfrom
alzimmermsft:UpdatePublishing
Aug 28, 2026
Merged

Update maven-gpg-plugin in publishing#50266
Alan Zimmer (alzimmermsft) merged 5 commits into
Azure:mainfrom
alzimmermsft:UpdatePublishing

Conversation

@alzimmermsft

Copy link
Copy Markdown
Member

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:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@azure-pipelines

Copy link
Copy Markdown
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.

@azure-pipelines

Copy link
Copy Markdown
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.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-plugin from 3.2.7 to 3.2.8 in 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: false during checkout: self with 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.

Comment thread eng/scripts/Publish-MavenPackages.ps1 Outdated
Comment thread eng/scripts/Publish-MavenPackages.ps1 Outdated
@alzimmermsft
Alan Zimmer (alzimmermsft) merged commit 0d9f149 into Azure:main Aug 28, 2026
20 checks passed
@alzimmermsft
Alan Zimmer (alzimmermsft) deleted the UpdatePublishing branch August 28, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants