diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 26c20d1..125c438 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -14,7 +14,7 @@ jobs:
with:
java-version: 8
distribution: 'adopt'
- server-id: ossrh # Value of the distributionManagement/repository/id field of the pom.xml
+ server-id: central # Value of the distributionManagement/repository/id field of the pom.xml
server-username: MAVEN_USERNAME # env variable for username in deploy
server-password: MAVEN_PASSWORD # env variable for token in deploy
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
diff --git a/pom.xml b/pom.xml
index bacd8fc..6a37984 100644
--- a/pom.xml
+++ b/pom.xml
@@ -92,12 +92,12 @@
- ossrh
- https://oss.sonatype.org/content/repositories/snapshots
+ central
+ https://central.sonatype.com/repository/maven-snapshots
- ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
+ central
+ https://central.sonatype.com/
@@ -184,15 +184,13 @@
3.0.0
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.13
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.9.0
true
- ossrh
- https://oss.sonatype.org/
-
- true
+ central
+ true