diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml
index 04c7de72a..00f5fafc9 100644
--- a/.github/workflows/Build.yml
+++ b/.github/workflows/Build.yml
@@ -55,7 +55,7 @@ jobs:
servers: '[
{ "id": "github-genexuslabs", "username": "genexusbot", "password": "${{ secrets.SECURE_TOKEN }}" },
{ "id": "azure-devops", "username": "genexuslabs", "password": "${env.AZURE_ARTIFACTS_TOKEN}" },
- { "id": "ossrh", "username": "${env.MAVEN_USERNAME}", "password": "${env.MAVEN_PASSWORD}" },
+ { "id": "central", "username": "${env.MAVEN_USERNAME}", "password": "${env.MAVEN_PASSWORD}" },
{ "id": "gpg.passphrase", "passphrase": "${env.MAVEN_GPG_PASSPHRASE}" }
]'
diff --git a/pom.xml b/pom.xml
index ddeee2670..cbc8969df 100644
--- a/pom.xml
+++ b/pom.xml
@@ -349,31 +349,21 @@
-
- ossrh
- Maven Central
- https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
- ossrh
- Maven Central - Snapshots Repository
- https://s01.oss.sonatype.org/content/repositories/snapshots
-
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.13
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.8.0
true
- ossrh
- https://s01.oss.sonatype.org
- true
+ central
+ true
+ published
-
+