Skip to content

Commit b6603da

Browse files
committed
Revert "replace server id from ossrh to central"
This reverts commit 101fb08.
1 parent f99701b commit b6603da

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: central
42+
server-id: ossrh
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>central</id>
334+
<id>ossrh</id>
335335
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
336336
<layout>default</layout>
337337
</snapshotRepository>
338338
<repository>
339-
<id>central</id>
339+
<id>ossrh</id>
340340
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
341341
<layout>default</layout>
342342
</repository>
@@ -477,7 +477,7 @@
477477
<artifactId>nexus-staging-maven-plugin</artifactId>
478478
<extensions>true</extensions>
479479
<configuration>
480-
<serverId>central</serverId>
480+
<serverId>ossrh</serverId>
481481
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
482482
<autoReleaseAfterClose>true</autoReleaseAfterClose>
483483
</configuration>

0 commit comments

Comments
 (0)