Skip to content

Commit 7fea049

Browse files
authored
GH-5359 switch from oss.sonatype.org to central.sonatype.org (#5360)
1 parent 26fa207 commit 7fea049

2 files changed

Lines changed: 13 additions & 14 deletions

File tree

pom.xml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,22 +54,21 @@
5454
<distributionManagement>
5555
<snapshotRepository>
5656
<id>ossrh</id>
57-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
57+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
5858
</snapshotRepository>
5959
</distributionManagement>
6060
<build>
6161
<plugins>
6262
<plugin>
63-
<groupId>org.sonatype.plugins</groupId>
64-
<artifactId>nexus-staging-maven-plugin</artifactId>
65-
<version>1.6.13</version>
63+
<groupId>org.sonatype.central</groupId>
64+
<artifactId>central-publishing-maven-plugin</artifactId>
65+
<version>0.7.0</version>
6666
<extensions>true</extensions>
6767
<configuration>
68-
<serverId>ossrh</serverId>
69-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
70-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
71-
<stagingProgressTimeoutMinutes>120</stagingProgressTimeoutMinutes>
72-
<stagingProgressPauseDurationSeconds>10</stagingProgressPauseDurationSeconds>
68+
<publishingServerId>central</publishingServerId>
69+
<autoPublish>true</autoPublish>
70+
<waitUntil>published</waitUntil>
71+
<centralSnapshotsUrl>https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl>
7372
</configuration>
7473
</plugin>
7574
<plugin>
@@ -235,8 +234,8 @@
235234
<snapshots>
236235
<enabled>true</enabled>
237236
</snapshots>
238-
<id>oss-sonatype-snapshots</id>
239-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
237+
<id>central-sonatype-snapshots</id>
238+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
240239
</repository>
241240
</repositories>
242241
</profile>

site/content/download.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,15 @@ which artifacts RDF4J provides.
100100

101101
## Source code and nightly builds
102102

103-
You can access the RDF4J source code directly from [our GitHub repositories](https://github.com/eclipse/rdf4j). Maven nightly snapshot builds for the main and develop branch are available from the [Sonatype snapshot repository](https://oss.sonatype.org/content/repositories/snapshots/org/eclipse/rdf4j/).
103+
You can access the RDF4J source code directly from [our GitHub repositories](https://github.com/eclipse/rdf4j). Maven nightly snapshot builds for the main and develop branch are available from the [Sonatype snapshot repository](https://central.sonatype.org/content/repositories/snapshots/org/eclipse/rdf4j/).
104104

105105
To include nightly snapshot builds in your project, add this repository to your project’s POM:
106106

107107
```xml
108108
<repositories>
109109
<repository>
110-
<id>oss.sonatype.org-snapshot</id>
111-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
110+
<id>central.sonatype.org-snapshot</id>
111+
<url>https://central.sonatype.org/content/repositories/snapshots</url>
112112
<releases>
113113
<enabled>false</enabled>
114114
</releases>

0 commit comments

Comments
 (0)