Skip to content

Commit f3118a8

Browse files
Merge pull request #448 from couchbase/central-portal-snapshots
Update snapshot repository info
2 parents ee57407 + 362d876 commit f3118a8

2 files changed

Lines changed: 22 additions & 12 deletions

File tree

modules/project-docs/pages/sdk-full-installation.adoc

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ You can also find links to the hosted javadocs there.
7373
[snapshots]
7474
== Using a Snapshot Version
7575

76-
Couchbase publishes pre-release snapshot artifacts to the Sonatype OSS Snapshot Repository.
76+
Couchbase publishes pre-release snapshot artifacts to the Central Portal Snapshots Repository.
7777
If you wish to use a snapshot version, you'll need to tell your build tool about this repository.
7878

7979
[{tabs}]
@@ -85,12 +85,17 @@ Maven::
8585
[source,xml]
8686
----
8787
<repositories>
88-
<repository>
89-
<id>sonatype-snapshots</id>
90-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
91-
<releases><enabled>false</enabled></releases>
92-
<snapshots><enabled>true</enabled></snapshots>
93-
</repository>
88+
<repository>
89+
<name>Central Portal Snapshots</name>
90+
<id>central-portal-snapshots</id>
91+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
92+
<releases>
93+
<enabled>false</enabled>
94+
</releases>
95+
<snapshots>
96+
<enabled>true</enabled>
97+
</snapshots>
98+
</repository>
9499
</repositories>
95100
----
96101
--
@@ -103,7 +108,7 @@ Gradle (Groovy)::
103108
repositories {
104109
mavenCentral()
105110
maven {
106-
url "https://oss.sonatype.org/content/repositories/snapshots"
111+
url "https://central.sonatype.com/repository/maven-snapshots/"
107112
mavenContent { snapshotsOnly() }
108113
}
109114
}

pom.xml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,15 @@
165165
</repository>
166166

167167
<repository>
168-
<id>sonatype-snapshots</id>
169-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
170-
<releases><enabled>false</enabled></releases>
171-
<snapshots><enabled>true</enabled></snapshots>
168+
<name>Central Portal Snapshots</name>
169+
<id>central-portal-snapshots</id>
170+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
171+
<releases>
172+
<enabled>false</enabled>
173+
</releases>
174+
<snapshots>
175+
<enabled>true</enabled>
176+
</snapshots>
172177
</repository>
173178
</repositories>
174179

0 commit comments

Comments
 (0)