Skip to content

Commit 101fb08

Browse files
committed
replace server id from ossrh to central
Signed-off-by: Min Jin <[email protected]>
1 parent 261c835 commit 101fb08

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
with:
4040
distribution: 'temurin'
4141
java-version: 17.0.x
42-
server-id: ossrh
42+
server-id: central
4343
server-username: OSSRH_USERNAME
4444
server-password: OSSRH_TOKEN
4545
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}

pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,12 +331,12 @@
331331

332332
<distributionManagement>
333333
<snapshotRepository>
334-
<id>ossrh</id>
334+
<id>central</id>
335335
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
336336
<layout>default</layout>
337337
</snapshotRepository>
338338
<repository>
339-
<id>ossrh</id>
339+
<id>central</id>
340340
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
341341
<layout>default</layout>
342342
</repository>
@@ -468,7 +468,7 @@
468468
<artifactId>nexus-staging-maven-plugin</artifactId>
469469
<extensions>true</extensions>
470470
<configuration>
471-
<serverId>ossrh</serverId>
471+
<serverId>central</serverId>
472472
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
473473
<autoReleaseAfterClose>true</autoReleaseAfterClose>
474474
</configuration>

0 commit comments

Comments
 (0)