Skip to content

Commit 4a8cc8e

Browse files
committed
fix: Fix deployment workflow attempt 2
1 parent 427144e commit 4a8cc8e

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

pom.xml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333

3434
<distributionManagement>
3535
<snapshotRepository>
36-
<id>central</id>
37-
<url>https://central.sonatype.com/content/repositories/snapshots</url>
36+
<id>central-portal-snapshots</id>
37+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
3838
</snapshotRepository>
3939
<repository>
4040
<id>central</id>
41-
<url>https://central.sonatype.com/service/local/staging/deploy/maven2/</url>
41+
<url>https://central.sonatype.com/repository/maven-releases/</url>
4242
</repository>
4343
</distributionManagement>
4444

@@ -381,16 +381,15 @@
381381
</executions>
382382
</plugin>
383383
<plugin>
384-
<groupId>org.sonatype.plugins</groupId>
385-
<artifactId>nexus-staging-maven-plugin</artifactId>
386-
<version>1.6.13</version>
384+
<groupId>org.sonatype.central</groupId>
385+
<artifactId>central-publishing-maven-plugin</artifactId>
386+
<version>0.8.0</version>
387387
<extensions>true</extensions>
388388
<configuration>
389-
<serverId>central</serverId>
390-
<nexusUrl>https://central.sonatype.com/</nexusUrl>
391-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
392-
<connectTimeout>600000</connectTimeout>
393-
<readTimeout>600000</readTimeout>
389+
<publishingServerId>central</publishingServerId>
390+
<deploymentName>github-java-client</deploymentName>
391+
<autoPublish>true</autoPublish>
392+
<waitUntil>published</waitUntil>
394393
</configuration>
395394
</plugin>
396395
</plugins>

0 commit comments

Comments
 (0)