diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 86ee113..031acd1 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -71,7 +71,7 @@ jobs:
--settings .maven_settings.xml \
-DreleaseVersion=$version \
-DdevelopmentVersion=$nextVersion \
- -P ossrh,sign-artifacts
+ -P central,sign-artifacts
env:
SIGN_KEY_PASS: ${{ secrets.GPG_SECRET_PASSPHRASE }}
SIGN_KEY: ${{ secrets.GPG_SECRET_KEY }}
diff --git a/.maven_settings.xml b/.maven_settings.xml
index 48d1e03..9bc9a54 100644
--- a/.maven_settings.xml
+++ b/.maven_settings.xml
@@ -16,12 +16,7 @@
${env.ARTIFACTORY_PASSWORD}
- ossrh-snapshots
- ${env.SONATYPE_USERNAME}
- ${env.SONATYPE_PASSWORD}
-
-
- ossrh-releases
+ central
${env.SONATYPE_USERNAME}
${env.SONATYPE_PASSWORD}
diff --git a/pom.xml b/pom.xml
index 88130fa..e007d83 100644
--- a/pom.xml
+++ b/pom.xml
@@ -432,34 +432,22 @@
-
- ossrh
+
+ central
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.13
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.6.0
true
- ossrh-releases
- https://s01.oss.sonatype.org/
- true
+ central
+ true
-
-
- ossrh-snapshots
- https://s01.oss.sonatype.org/content/repositories/snapshots
-
-
-
- ossrh-releases
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
-
-