diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml
index 1436906bad..3d437aa002 100644
--- a/.github/workflows/snapshot.yml
+++ b/.github/workflows/snapshot.yml
@@ -21,7 +21,7 @@ jobs:
with:
java-version: '8'
distribution: 'temurin'
- server-id: ossrh
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Cache dependencies
diff --git a/.github/workflows/version-and-release.yml b/.github/workflows/version-and-release.yml
index f624dc05fd..415c8e0805 100644
--- a/.github/workflows/version-and-release.yml
+++ b/.github/workflows/version-and-release.yml
@@ -23,7 +23,7 @@ jobs:
with:
java-version: '8'
distribution: 'temurin'
- server-id: ossrh
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
diff --git a/pom.xml b/pom.xml
index 6241e5daf1..afc2fa9f74 100644
--- a/pom.xml
+++ b/pom.xml
@@ -40,10 +40,18 @@
scm:git:git@github.com:redis/jedis.git
scm:git:git@github.com:redis/jedis.git
- scm:git:git@github.com:redis/jedis.git
- jedis-3.4.1
+ https://github.com/redis/jedis/tree/master
+
+
+ redis
+ Redis Ltd.
+ Redis
+ https://redis.io
+
+
+
github
redis.clients.jedis
@@ -213,14 +221,14 @@
-
- ossrh
- https://oss.sonatype.org/content/repositories/snapshots
-
- ossrh
- https://oss.sonatype.org/service/local/staging/deploy/maven2/
+ central
+ https://central.sonatype.com/api/v1/publisher/deployments/upload/
+
+ central
+ https://central.sonatype.com/repository/maven-snapshots/
+
@@ -310,14 +318,14 @@
3.1.1
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.7.0
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.8.0
true
- ossrh
- https://oss.sonatype.org/
- true
+ central
+ true
+ published