Skip to content

Commit 231ec1e

Browse files
committed
use central.sonatype.com/api/v1/publisher/upload
1 parent 54112b6 commit 231ec1e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/perform-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
mvn
104104
$MVN_CLI_ARGS -Drelease -s settings.xml
105105
-e
106-
-DserverId=central -Durl=https://central.sonatype.com
106+
-DserverId=central -Durl=https://central.sonatype.com/api/v1/publisher/upload
107107
-Dgpg.passphrase="$MAVEN_GPG_PASSPHRASE" -Dgpg.keyname="$MAVEN_CENTRAL_USER"
108108
deploy
109109
env:

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
<distributionManagement>
4444
<repository>
4545
<id>central</id>
46-
<url>https://central.sonatype.com</url>
46+
<url>https://central.sonatype.com/api/v1/publisher/upload</url>
4747
</repository>
4848
</distributionManagement>
4949
<properties>

0 commit comments

Comments
 (0)