Skip to content

Commit b08097e

Browse files
committed
Update README.md snapshots and search locations
JAVA-5881
1 parent d4a133a commit b08097e

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ time.
7474
## Binaries
7575

7676
Binaries and dependency information for Maven, Gradle, Ivy and others can be found at
77-
[http://search.maven.org](http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.mongodb%22%20AND%20a%3A%22mongodb-driver-sync%22).
77+
[https://central.sonatype.com/search](https://central.sonatype.com/search?namespace=org.mongodb&name=mongodb-driver-sync).
7878

7979
Example for Maven:
8080

@@ -90,12 +90,19 @@ Snapshot builds are also published regulary via Sonatype.
9090
Example for Maven:
9191

9292
```xml
93-
<repositories>
94-
<repository>
95-
<id>sonatype-snapshot</id>
96-
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
97-
</repository>
98-
</repositories>
93+
<repositories>
94+
<repository>
95+
<name>Central Portal Snapshots</name>
96+
<id>central-portal-snapshots</id>
97+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
98+
<releases>
99+
<enabled>false</enabled>
100+
</releases>
101+
<snapshots>
102+
<enabled>true</enabled>
103+
</snapshots>
104+
</repository>
105+
</repositories>
99106
```
100107

101108
## Build

0 commit comments

Comments
 (0)