Skip to content

Commit 34441fb

Browse files
committed
[skip ci] Change the Maven central publishing plugin
1 parent 4cc70bb commit 34441fb

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

pom.xml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -240,16 +240,15 @@
240240
</executions>
241241
</plugin>
242242

243-
<!-- Nexus deployment -->
243+
<!-- Central publishing -->
244244
<plugin>
245-
<groupId>org.sonatype.plugins</groupId>
246-
<artifactId>nexus-staging-maven-plugin</artifactId>
247-
<version>1.7.0</version>
245+
<groupId>org.sonatype.central</groupId>
246+
<artifactId>central-publishing-maven-plugin</artifactId>
247+
<version>0.8.0</version>
248248
<extensions>true</extensions>
249249
<configuration>
250-
<serverId>${nexus.serverid}</serverId>
251-
<nexusUrl>${nexus.url}</nexusUrl>
252-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
250+
<publishingServerId>central</publishingServerId>
251+
<autoPublish>true</autoPublish>
253252
</configuration>
254253
</plugin>
255254

0 commit comments

Comments
 (0)