From 362d876b905ed28c127761f2e7bc57dae55d0899 Mon Sep 17 00:00:00 2001 From: David Nault Date: Tue, 27 May 2025 13:24:53 -0700 Subject: [PATCH] Update snapshot repository info Motivation ---------- Now that we've migrated from OSSRH to Central Portal, snapshots are in a different location. --- .../pages/sdk-full-installation.adoc | 21 ++++++++++++------- pom.xml | 13 ++++++++---- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/modules/project-docs/pages/sdk-full-installation.adoc b/modules/project-docs/pages/sdk-full-installation.adoc index e9bebf4d..432259da 100644 --- a/modules/project-docs/pages/sdk-full-installation.adoc +++ b/modules/project-docs/pages/sdk-full-installation.adoc @@ -73,7 +73,7 @@ You can also find links to the hosted javadocs there. [snapshots] == Using a Snapshot Version -Couchbase publishes pre-release snapshot artifacts to the Sonatype OSS Snapshot Repository. +Couchbase publishes pre-release snapshot artifacts to the Central Portal Snapshots Repository. If you wish to use a snapshot version, you'll need to tell your build tool about this repository. [{tabs}] @@ -85,12 +85,17 @@ Maven:: [source,xml] ---- - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots - false - true - + + Central Portal Snapshots + central-portal-snapshots + https://central.sonatype.com/repository/maven-snapshots/ + + false + + + true + + ---- -- @@ -103,7 +108,7 @@ Gradle (Groovy):: repositories { mavenCentral() maven { - url "https://oss.sonatype.org/content/repositories/snapshots" + url "https://central.sonatype.com/repository/maven-snapshots/" mavenContent { snapshotsOnly() } } } diff --git a/pom.xml b/pom.xml index 126a9b2e..d40dff01 100644 --- a/pom.xml +++ b/pom.xml @@ -165,10 +165,15 @@ - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots - false - true + Central Portal Snapshots + central-portal-snapshots + https://central.sonatype.com/repository/maven-snapshots/ + + false + + + true +