Skip to content

Commit 8ae3096

Browse files
committed
Replace nexus-staging-maven-plugin with central-publishing-maven-plugin
1 parent 04ee3ed commit 8ae3096

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

pom.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@
3030
<distributionManagement>
3131
<snapshotRepository>
3232
<id>ossrh</id>
33-
<url>https://central.sonatype.com/api/internal/repository/maven-central-snapshots/</url>
33+
<url>https://central.sonatype.com/api/v1/publisher/upload</url>
3434
</snapshotRepository>
3535
<repository>
3636
<id>ossrh</id>
37-
<url>https://central.sonatype.com/api/internal/repository/maven-central/</url>
37+
<url>https://central.sonatype.com/api/v1/publisher/upload</url>
3838
</repository>
3939
</distributionManagement>
4040

@@ -203,12 +203,11 @@
203203

204204
<plugin>
205205
<groupId>org.sonatype.plugins</groupId>
206-
<artifactId>nexus-staging-maven-plugin</artifactId>
207-
<version>1.6.13</version>
206+
<artifactId>central-publishing-maven-plugin</artifactId>
207+
<version>1.0.0</version>
208208
<extensions>true</extensions>
209209
<configuration>
210210
<serverId>ossrh</serverId>
211-
<nexusUrl>https://central.sonatype.com/api/internal/</nexusUrl>
212211
<autoReleaseAfterClose>true</autoReleaseAfterClose>
213212
</configuration>
214213
</plugin>

0 commit comments

Comments
 (0)