From Legacy OSSRH to Central Portal

Today I’ve decided to release a new version of springpom. Last time I published a version there was the old OSSRH, but now I have to migrate to the new Central Portal. This required: migrating from nexus-staging-maven-plugin to central-publishing-maven-plugin migrating my name.seguri.java namespace from legacy OSSRH to Central Portal For the first part, I’ve replaced: <build> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${dep.plugin.nexus.version}</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> with: ...

May 5, 2025 · 1 min · 132 words