Skip to content

Commit a51f19a

Browse files
committed
Update pom
1 parent 9ffdb89 commit a51f19a

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

‎pom.xml‎

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
<maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version>
106106
<maven-deploy-plugin.version>3.1.3</maven-deploy-plugin.version>
107107
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
108-
<nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version>
108+
109109

110110
<!-- Quality Plugin Versions -->
111111
<spotless.version>2.44.3</spotless.version>
@@ -346,16 +346,15 @@
346346
<version>${maven-deploy-plugin.version}</version>
347347
</plugin>
348348

349-
<!-- Nexus Staging Plugin -->
349+
<!-- Central Publishing Plugin -->
350350
<plugin>
351-
<groupId>org.sonatype.plugins</groupId>
352-
<artifactId>nexus-staging-maven-plugin</artifactId>
353-
<version>${nexus-staging-maven-plugin.version}</version>
351+
<groupId>org.sonatype.central</groupId>
352+
<artifactId>central-publishing-maven-plugin</artifactId>
353+
<version>0.5.0</version>
354354
<extensions>true</extensions>
355355
<configuration>
356-
<serverId>ossrh</serverId>
357-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
358-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
356+
<publishingServerId>ossrh</publishingServerId>
357+
<autoPublish>true</autoPublish>
359358
</configuration>
360359
</plugin>
361360

@@ -599,8 +598,8 @@
599598
<artifactId>maven-gpg-plugin</artifactId>
600599
</plugin>
601600
<plugin>
602-
<groupId>org.sonatype.plugins</groupId>
603-
<artifactId>nexus-staging-maven-plugin</artifactId>
601+
<groupId>org.sonatype.central</groupId>
602+
<artifactId>central-publishing-maven-plugin</artifactId>
604603
</plugin>
605604
</plugins>
606605
</build>

0 commit comments

Comments
 (0)