Skip to content

Commit 32d0b79

Browse files
committed
update publish settings
1 parent 7ed7543 commit 32d0b79

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
java-version: "21"
2121
distribution: "temurin"
2222
cache: maven
23-
server-id: ossrh
23+
server-id: central
2424
server-username: MAVEN_USERNAME
2525
server-password: MAVEN_PASSWORD
2626
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@
7575
<plugin>
7676
<groupId>org.sonatype.central</groupId>
7777
<artifactId>central-publishing-maven-plugin</artifactId>
78-
<version>0.4.0</version>
78+
<version>0.7.0</version>
7979
<extensions>true</extensions>
8080
<configuration>
81-
<publishingServerId>ossrh</publishingServerId>
81+
<publishingServerId>central</publishingServerId>
8282
<tokenAuth>true</tokenAuth>
8383
<autoPublish>true</autoPublish>
8484
</configuration>

0 commit comments

Comments
 (0)