diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 2bf0d0f86..fe44b9cdf 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -33,7 +33,7 @@ jobs:
- name: Build and analyze
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- run: mvn -B clean javadoc:javadoc clean verify -P coverage
+ run: mvn -B clean javadoc:javadoc clean verify -P coverage
if: env.SONAR_TOKEN == ''
- name: Build and analyze with sonar
env:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 54953a32d..2c3b719eb 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -32,7 +32,7 @@ jobs:
with:
distribution: 'temurin'
java-version: 17
- server-id: ossrh
+ server-id: central
cache: 'maven'
server-username: MAVEN_USERNAME
server-password: MAVEN_CENTRAL_TOKEN
diff --git a/pom.xml b/pom.xml
index c573d98ff..a6cda4df7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -712,12 +712,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/
@@ -736,14 +736,13 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.13
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.5.0
true
- ossrh
- https://oss.sonatype.org/
- true
+ central
+ true