diff --git a/.github/workflows/maven_jdk21_deploy.yml b/.github/workflows/maven_jdk21_deploy.yml
index 57fb0560..78c26af5 100644
--- a/.github/workflows/maven_jdk21_deploy.yml
+++ b/.github/workflows/maven_jdk21_deploy.yml
@@ -30,7 +30,7 @@ jobs:
dbus-java-transport-native-unixsocket/pom.xml
dbus-java-transport-tcp/pom.xml
dbus-java-utils/pom.xml
- server-id: central
+ server-id: sonatype-central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Build with Maven
diff --git a/pom.xml b/pom.xml
index 3fbcbaa8..251e728a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -266,7 +266,7 @@
${mvn.centralpublishing.plugin.version}
true
- central
+ sonatype-central
true
validated
true
@@ -438,12 +438,12 @@
- central
+ sonatype-central
Sonatype Central Snapshots
https://central.sonatype.com/repository/maven-snapshots/
- central
+ sonatype-central
Sonatype Central Staging Repository
https://central.sonatype.com