Skip to content

fix(release): Point eg-release-dev distributionManagement at Artifactory Cloud - #380

Merged
vanitabhagwat merged 1 commit into
masterfrom
fix/maven-release-artifactory-cloud
Sep 28, 2026
Merged

vanitabhagwat merged 1 commit into
masterfrom
fix/maven-release-artifactory-cloud

Conversation

@vanitabhagwat

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

The eg-release-dev Maven profile in java/pom.xml still declared Artylab as its distributionManagement target (eg-artylab-releases / eg-artylab-snapshots, both pointing at artylab.expedia.biz).

eg-ai-platform/eg-feast's release_java.yml migrated the Java release deploy to Artifactory Cloud: it configures settings.xml server credentials under ids artifactory-cloud-releases / artifactory-cloud-snapshots, and passes -DaltReleaseDeploymentRepository / -DaltSnapshotDeploymentRepository pointing at artifactory.expedia.biz. However, nexus-staging-maven-plugin (enabled for this build) deploys using the profile's own distributionManagement id rather than honoring those alt*DeploymentRepository overrides. So every release build still targeted Artylab with no matching server credentials configured for eg-artylab-releases, failing with:

Failed to deploy artifacts: Could not transfer artifact eg.feast:feast-datatypes:jar:0.9.18
from/to eg-artylab-releases (https://artylab.expedia.biz/eg-maven-release-local):
status code: 401

confirmed in eg-ai-platform/eg-feast run 49733150 — this was the last blocker after fixing the sibling pip/Artifactory Cloud gap in functional tests (eg-ai-platform/eg-feast#107).

This repoints the profile's repository/snapshotRepository ids and URLs to match what release_java.yml already expects (artifactory-cloud-releases → artifactory.expedia.biz/artifactory/eg-internal-maven, artifactory-cloud-snapshots → artifactory.expedia.biz/artifactory/dev-maven), closing the exact gap called out in that workflow's own comment.

Which issue(s) this PR fixes:
N/A

…ory Cloud

The eg-release-dev Maven profile's distributionManagement still declared
Artylab repository ids/URLs (eg-artylab-releases, eg-artylab-snapshots).
The eg-ai-platform/eg-feast release workflow (release_java.yml) migrated
to Artifactory Cloud and configures settings.xml servers under ids
artifactory-cloud-releases/artifactory-cloud-snapshots, with
-DaltReleaseDeploymentRepository/-DaltSnapshotDeploymentRepository flags
pointing at artifactory.expedia.biz -- but nexus-staging-maven-plugin
deploys via the profile's own distributionManagement id, not those alt*
flags, so it ignored the override and hit Artylab with no matching
server credentials configured, failing with 401.

Repoint the profile's repository/snapshotRepository ids and URLs to match
what release_java.yml already expects, closing the gap called out in that
workflow's own comment (eg-ai-platform/eg-feast#107 fixed the sibling
pip/Artifactory Cloud gap in functional tests; this is the Java one).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@vanitabhagwat vanitabhagwat changed the title fix(release): point eg-release-dev distributionManagement at Artifactory Cloud fix(release): Point eg-release-dev distributionManagement at Artifactory Cloud Sep 28, 2026
@vanitabhagwat
vanitabhagwat merged commit f0e5c0e into master Sep 28, 2026
29 of 30 checks passed
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.

2 participants