From 7d91f27b14e17ab433d02e0737dc407a85526f03 Mon Sep 17 00:00:00 2001 From: Vincent Tran Date: Wed, 21 May 2025 13:10:30 -0700 Subject: [PATCH 1/4] chore: Update sonatype endpoint for publishing --- .../plugins/src/main/kotlin/PublishingConventionPlugin.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-logic/plugins/src/main/kotlin/PublishingConventionPlugin.kt b/build-logic/plugins/src/main/kotlin/PublishingConventionPlugin.kt index eae0aa9f..dad42ba6 100644 --- a/build-logic/plugins/src/main/kotlin/PublishingConventionPlugin.kt +++ b/build-logic/plugins/src/main/kotlin/PublishingConventionPlugin.kt @@ -148,7 +148,7 @@ class PublishingConventionPlugin : Plugin { get() = URI.create( getPropertyOrDefault( "RELEASE_REPOSITORY_URL", - "https://aws.oss.sonatype.org/service/local/staging/deploy/maven2/" + "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/" ) ) @@ -156,7 +156,7 @@ class PublishingConventionPlugin : Plugin { get() = URI.create( getPropertyOrDefault( "SNAPSHOT_REPOSITORY_URL", - "https://aws.oss.sonatype.org/content/repositories/snapshots/" + "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/" ) ) From 8ab87e477c214381e9a67391e6e3e726ca4deec3 Mon Sep 17 00:00:00 2001 From: Vincent Tran Date: Wed, 21 May 2025 13:10:59 -0700 Subject: [PATCH 2/4] Change POM group namespace to the testing namespace --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 226d2d56..6fda8201 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,7 +22,7 @@ kotlin.code.style=official # thereby reducing the size of the R class for that library android.nonTransitiveRClass=true -POM_GROUP=com.amplifyframework.ui +POM_GROUP=com.sonatype.central.testing.amazon POM_URL=https://github.com/aws-amplify/amplify-ui-android POM_SCM_URL=https://github.com/aws-amplify/amplify-ui-android POM_SCM_CONNECTION=scm:git:git://github.com/aws-amplify/amplify-ui-android.git From 3e2eaba4be92a5024b56972daa465510360aef3d Mon Sep 17 00:00:00 2001 From: Vincent Tran Date: Thu, 22 May 2025 13:32:25 -0700 Subject: [PATCH 3/4] Add maven staging api name --- .../plugins/src/main/kotlin/PublishingConventionPlugin.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/build-logic/plugins/src/main/kotlin/PublishingConventionPlugin.kt b/build-logic/plugins/src/main/kotlin/PublishingConventionPlugin.kt index dad42ba6..45380812 100644 --- a/build-logic/plugins/src/main/kotlin/PublishingConventionPlugin.kt +++ b/build-logic/plugins/src/main/kotlin/PublishingConventionPlugin.kt @@ -117,6 +117,7 @@ class PublishingConventionPlugin : Plugin { repositories { maven { + name = "ossrh-staging-api" url = if (isReleaseBuild) releaseRepositoryUrl else snapshotRepositoryUrl credentials { username = sonatypeUsername From 6dd6e12060c2219f510afb0a0647033e32d88a38 Mon Sep 17 00:00:00 2001 From: Vincent Tran Date: Fri, 23 May 2025 11:34:44 -0700 Subject: [PATCH 4/4] Revert "Change POM group namespace to the testing namespace" This reverts commit 8ab87e477c214381e9a67391e6e3e726ca4deec3. --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 6fda8201..226d2d56 100644 --- a/gradle.properties +++ b/gradle.properties @@ -22,7 +22,7 @@ kotlin.code.style=official # thereby reducing the size of the R class for that library android.nonTransitiveRClass=true -POM_GROUP=com.sonatype.central.testing.amazon +POM_GROUP=com.amplifyframework.ui POM_URL=https://github.com/aws-amplify/amplify-ui-android POM_SCM_URL=https://github.com/aws-amplify/amplify-ui-android POM_SCM_CONNECTION=scm:git:git://github.com/aws-amplify/amplify-ui-android.git