Skip to content

Commit 36c5765

Browse files
committed
Update ossrh sonatype staging url
ossrh sunsetted as of June 30, 2025: https://central.sonatype.org/pages/ossrh-eol/
1 parent a58b54b commit 36c5765

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pom.xml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
<snapshotRepository>
1919
<id>sonatype-nexus-snapshots</id>
2020
<name>Sonatype Nexus Snapshots</name>
21-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
21+
<url>${nexus.serverUrl}/content/repositories/snapshots/</url>
2222
</snapshotRepository>
2323
<repository>
2424
<id>sonatype-nexus-staging</id>
2525
<name>Nexus Release Repository</name>
26-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
26+
<url>${nexus.serverUrl}/service/local/staging/deploy/maven2/</url>
2727
</repository>
2828
<site>
2929
<id>github-pages</id>
@@ -49,6 +49,9 @@
4949

5050
<jacoco.surefire.argLine />
5151
<surefire.argLine />
52+
53+
<!-- This project was registered before 2021, so it uses the old server. -->
54+
<nexus.serverUrl>https://ossrh-staging-api.central.sonatype.com</nexus.serverUrl>
5255
</properties>
5356

5457
<build>

0 commit comments

Comments
 (0)