From d79027cb978d95b7854c62c8c07d5107d2e84a4a Mon Sep 17 00:00:00 2001 From: seanamos Date: Thu, 23 Oct 2025 12:10:25 -0400 Subject: [PATCH 1/2] Point publishing plugin to new maven central staging publishing urls --- gradle.properties | 4 ++-- gradle/gradle-mvn-push.gradle | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gradle.properties b/gradle.properties index bc7b7267..a4db85f4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -15,8 +15,8 @@ POM_LICENCE_DIST=repo POM_DEVELOPER_ID=wealthfront POM_DEVELOPER_NAME=Wealthfront, Inc. -RELEASE_REPOSITORY_URL=https://oss.sonatype.org/service/local/staging/deploy/maven2/ -SNAPSHOT_REPOSITORY_URL=https://oss.sonatype.org/content/repositories/snapshots/ +RELEASE_REPOSITORY_URL=https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/ +SNAPSHOT_REPOSITORY_URL=https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/ android.useAndroidX=true android.enableJetifier=true diff --git a/gradle/gradle-mvn-push.gradle b/gradle/gradle-mvn-push.gradle index 91d1d6d9..63a96068 100644 --- a/gradle/gradle-mvn-push.gradle +++ b/gradle/gradle-mvn-push.gradle @@ -16,12 +16,12 @@ def isReleaseBuild() { def getReleaseRepositoryUrl() { return hasProperty('RELEASE_REPOSITORY_URL') ? RELEASE_REPOSITORY_URL - : "https://oss.sonatype.org/service/local/staging/deploy/maven2/" + : "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/" } def getSnapshotRepositoryUrl() { return hasProperty('SNAPSHOT_REPOSITORY_URL') ? SNAPSHOT_REPOSITORY_URL - : "https://oss.sonatype.org/content/repositories/snapshots/" + : "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/" } def getRepositoryUsername() { From 3487beb07b8486a426225f82ad5647a195c145ad Mon Sep 17 00:00:00 2001 From: seanamos Date: Thu, 23 Oct 2025 13:38:16 -0400 Subject: [PATCH 2/2] Update releasing.md --- RELEASING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RELEASING.md b/RELEASING.md index ba05bae4..bccf973b 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -12,8 +12,8 @@ 5. Someone with the necessary permissions publishes the repo: - `./gradlew clean publish` - - Visit [Sonatype Nexus](https://oss.sonatype.org/) and promote the artifact. -If this step fails: drop the Sonatype repo, fix the problem, commit, and start again. + - Visit [Sonatype Central](https://central.sonatype.com/publishing), wait for the "pending" artifacts to become validated, and finally publish the artifacts. +If this step fails: drop the deployment, fix the problem, commit, and start again. Visit [Maven Central Repository Search](https://search.maven.org/search?q=magellan) to verify the artifact is live. Note that it may take a few hours. 6. Visit [the GitHub releases page](https://github.com/wealthfront/magellan/releases) and create a new release, copying the changelog from CHANGELOG.md.