diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index cb4ec5eb..5f3b1514 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -35,7 +35,7 @@ jobs:
distribution: temurin
java-version: 17
cache: 'maven'
- server-id: ossrh
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
@@ -51,7 +51,7 @@ jobs:
cat release.properties
git checkout ${{github.base_ref}}
git rebase release
- mvn -B release:perform -Prelease -Darguments="-DperformRelease"
+ mvn -B release:perform -Prelease
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
diff --git a/pom.xml b/pom.xml
index f49814fc..92b8da14 100644
--- a/pom.xml
+++ b/pom.xml
@@ -71,6 +71,7 @@
1.2.2
3.11.3
3.5.1
+ 0.8.0
3.1.1
3.3.1
3.5.3
@@ -393,14 +394,14 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- ${version.nexus.plugin}
+ org.sonatype.central
+ central-publishing-maven-plugin
+ ${version.org.sonatype.central}
true
- ossrh
- https://oss.sonatype.org/
- true
+ central
+ true
+ published
@@ -578,17 +579,6 @@
-
-
- ossrh-snapshots
- https://oss.sonatype.org/content/repositories/snapshots
-
-
- ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
-
-
-
central