diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 4aec57c..d122452 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -87,7 +87,7 @@ jobs:
with: # running setup-java again overwrites the settings.xml
distribution: 'zulu'
java-version: ${{ matrix.java }}
- 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_CENTRAL_TOKEN # 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/k2hash/pom.xml b/k2hash/pom.xml
index 375c92c..26f6605 100644
--- a/k2hash/pom.xml
+++ b/k2hash/pom.xml
@@ -24,14 +24,6 @@
https://github.com/yahoojapan/k2hash_java
-
-
- ossrh
- Central Repository OSSRH
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
-
diff --git a/pom.xml b/pom.xml
index 1511300..45ba458 100644
--- a/pom.xml
+++ b/pom.xml
@@ -42,14 +42,6 @@
https://github.com/yahoojapan/k2hash_java
-
-
- ossrh
- Central Repository OSSRH
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
-
@@ -99,6 +91,7 @@
checkstyle.xml
1.7.0
3.1.1
+ 0.6.0
@@ -229,17 +222,15 @@
-
- org.sonatype.plugins
- nexus-staging-maven-plugin
- ${nexus-staging-maven-plugin.version}
- true
-
- ossrh
- https://s01.oss.sonatype.org
- true
-
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${central-publishing-maven-plugin.version}
+ true
+
+ central
+ true
+
org.apache.maven.plugins