Skip to content

Commit 8528872

Browse files
committed
Update to Central Portal Publishing Maven plugin
Replace old nexus-staging-maven-plugin with new central-publishing-maven-plugin for compatibility with Sonatype Central Portal.
1 parent 2d859a7 commit 8528872

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -231,14 +231,14 @@
231231
</configuration>
232232
</plugin>
233233
<plugin>
234-
<groupId>org.sonatype.plugins</groupId>
235-
<artifactId>nexus-staging-maven-plugin</artifactId>
236-
<version>1.6.12</version>
234+
<groupId>org.sonatype.central</groupId>
235+
<artifactId>central-publishing-maven-plugin</artifactId>
236+
<version>0.6.0</version>
237237
<extensions>true</extensions>
238238
<configuration>
239-
<serverId>ossrh-staging-api</serverId>
240-
<nexusUrl>https://ossrh-staging-api.central.sonatype.com</nexusUrl>
241-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
239+
<publishingServerId>central-portal-snapshots</publishingServerId>
240+
<autoPublish>true</autoPublish>
241+
<waitUntil>published</waitUntil>
242242
</configuration>
243243
</plugin>
244244
<plugin>

0 commit comments

Comments
 (0)