diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index db302379..1439ea00 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -20,7 +20,7 @@ jobs:
java-version: 11
distribution: corretto
cache: maven
- server-id: ossrh # Value of distributionManagement.repository.id field of pom.xml
+ server-id: central # Value of distributionManagement.repository.id field of pom.xml
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
settings-path: ${{ github.workspace }} # Location for settings.xml file
diff --git a/pom.xml b/pom.xml
index ec0e5709..08d53df7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -34,11 +34,11 @@
central
- https://central.sonatype.com/content/repositories/snapshots
+ https://central.sonatype.com/repository/maven-snapshots/
central
- https://central.sonatype.com/service/local/staging/deploy/maven2/
+ https://central.sonatype.com/repository/maven-releases/
@@ -381,16 +381,15 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.13
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.8.0
true
- central
- https://central.sonatype.com/
- true
- 600000
- 600000
+ central
+ github-java-client
+ true
+ published