Add Deploy Snapshot to Maven Central Portal workflow - #559
Merged
Conversation
The composite action runs clean deploy internally so the artifact shuttle between build and deploy jobs was redundant and causing download failures due to workspace conflicts after checkout.
Updated pom to use Central Portal snapshots
Child module had its own distributionManagement pointing to Artifactory. Without overriding it in the profile, Maven hits Artifactory for metadata during deploy and gets a 401. This profile redirects to Maven Central snapshots when -P deploy-central-snapshot is active.
…eploy-central-snapshot profile With extensions=true in pluginManagement, central-publishing-maven-plugin replaces the entire deploy lifecycle, making maven-deploy-plugin unreachable. Setting extensions=false within this profile restores standard deploy behavior so maven-deploy-plugin can push directly to the Central Snapshots URL.
vibhutikumar07
requested review from
PujaDeshmukh17 and
yashmeet29
as code owners
July 31, 2026 10:30
vibhutikumar07
temporarily deployed
to
pr-analysis
July 31, 2026 10:30 — with
GitHub Actions
Inactive
vibhutikumar07
temporarily deployed
to
pr-analysis
July 31, 2026 10:30 — with
GitHub Actions
Inactive
vibhutikumar07
temporarily deployed
to
pr-analysis
July 31, 2026 10:56 — with
GitHub Actions
Inactive
vibhutikumar07
temporarily deployed
to
pr-analysis
July 31, 2026 10:56 — with
GitHub Actions
Inactive
vibhutikumar07
temporarily deployed
to
pr-analysis
July 31, 2026 11:01 — with
GitHub Actions
Inactive
vibhutikumar07
temporarily deployed
to
pr-analysis
July 31, 2026 11:01 — with
GitHub Actions
Inactive
vibhutikumar07
temporarily deployed
to
pr-analysis
July 31, 2026 11:06 — with
GitHub Actions
Inactive
vibhutikumar07
temporarily deployed
to
pr-analysis
July 31, 2026 11:06 — with
GitHub Actions
Inactive
yashmeet29
reviewed
Jul 31, 2026
yashmeet29
approved these changes
Jul 31, 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.
Describe your changes
This PR introduces a new CI workflow to deploy SNAPSHOT artifacts directly to Sonatype Central Portal Snapshots repository, enabling teams to test pre-release versions before an official release.
Any documentation
Type of change
Please delete options that are not relevant.
Checklist before requesting a review
Upload Screenshots/lists of the scenarios tested