Skip to content

Commit 2383aa7

Browse files
committed
Update to new Central Publishing Portal API
1 parent 8ae3096 commit 2383aa7

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

pom.xml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,15 +203,25 @@
203203

204204
<plugin>
205205
<groupId>org.sonatype.plugins</groupId>
206-
<artifactId>central-publishing-maven-plugin</artifactId>
207-
<version>1.0.0</version>
206+
<artifactId>nexus-staging-maven-plugin</artifactId>
207+
<version>1.6.13</version>
208208
<extensions>true</extensions>
209209
<configuration>
210210
<serverId>ossrh</serverId>
211+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
211212
<autoReleaseAfterClose>true</autoReleaseAfterClose>
212213
</configuration>
213214
</plugin>
214215

216+
<plugin>
217+
<groupId>org.apache.maven.plugins</groupId>
218+
<artifactId>maven-deploy-plugin</artifactId>
219+
<version>3.1.1</version>
220+
<configuration>
221+
<altDeploymentRepository>ossrh::default::https://central.sonatype.com/api/v1/publisher/upload</altDeploymentRepository>
222+
</configuration>
223+
</plugin>
224+
215225
</plugins>
216226
</build>
217227

0 commit comments

Comments
 (0)