Skip to content

Commit 40678a1

Browse files
author
chengyitian
committed
AJ-871: change maven publish from 'nexus' to 'central';
1 parent 074c442 commit 40678a1

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

pom.xml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,14 +233,12 @@
233233
</plugin>
234234
<!-- Nexus staging -->
235235
<plugin>
236-
<groupId>org.sonatype.plugins</groupId>
237-
<artifactId>nexus-staging-maven-plugin</artifactId>
238-
<version>1.6.7</version>
236+
<groupId>org.sonatype.central</groupId>
237+
<artifactId>central-publishing-maven-plugin</artifactId>
238+
<version>0.8.0</version>
239239
<extensions>true</extensions>
240240
<configuration>
241-
<serverId>ossrh</serverId>
242-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
243-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
241+
<publishingServerId>central</publishingServerId>
244242
</configuration>
245243
</plugin>
246244
<plugin>

0 commit comments

Comments
 (0)