Skip to content

Commit 288bf46

Browse files
GH-236 migrating to central.sonatype.com (#237)
GH-236 As of June 30, 2025 Sonatype OSSRH has reached end of life and has been shut down. All OSSRH namespaces have been migrated to Central Publisher Portal. Hence migrating to `central.sonatype.com`
1 parent 2acc6e2 commit 288bf46

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

pom.xml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -76,17 +76,6 @@
7676
<tag>HEAD</tag>
7777
</scm>
7878

79-
<distributionManagement>
80-
<snapshotRepository>
81-
<id>ossrh</id>
82-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
83-
</snapshotRepository>
84-
<repository>
85-
<id>ossrh</id>
86-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
87-
</repository>
88-
</distributionManagement>
89-
9079
<properties>
9180
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
9281
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@@ -273,14 +262,12 @@
273262
<artifactId>jacoco-maven-plugin</artifactId>
274263
</plugin>
275264
<plugin>
276-
<groupId>org.sonatype.plugins</groupId>
277-
<artifactId>nexus-staging-maven-plugin</artifactId>
265+
<groupId>org.sonatype.central</groupId>
266+
<artifactId>central-publishing-maven-plugin</artifactId>
267+
<version>0.8.0</version>
278268
<extensions>true</extensions>
279269
<configuration>
280-
<stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes>
281-
<altStagingDirectory>${maven.multiModuleProjectDirectory}/dist/nexus-staging</altStagingDirectory>
282-
<serverId>ossrh</serverId>
283-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
270+
<publishingServerId>central</publishingServerId>
284271
</configuration>
285272
</plugin>
286273
</plugins>

0 commit comments

Comments
 (0)