diff --git a/.github/workflows/maven-central-publish.yml b/.github/workflows/maven-central-publish.yml
index 0559a5e..651c12c 100644
--- a/.github/workflows/maven-central-publish.yml
+++ b/.github/workflows/maven-central-publish.yml
@@ -15,14 +15,15 @@ jobs:
server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- gpg-private-key: ${{ secrets.GPG_SIGNING_KEY }}
+ gpg-private-key: ${{ secrets.CENTRAL_GPG_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE
- name: Set version
run: mvn versions:set -DnewVersion=${{ github.event.release.tag_name }}
- name: Publish package
run: mvn -P release --batch-mode deploy -DskipTests
env:
- MAVEN_USERNAME: ${{ secrets.CENTRAL_TOKEN_USERNAME }}
- MAVEN_PASSWORD: ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
- MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_SIGNING_KEY_PASSWORD }}
+ MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_TOKEN_USERNAME }}
+ MAVEN_PASSWORD: ${{ secrets.MAVEN_CENTRAL_TOKEN_PASSWORD }}
+ MAVEN_GPG_PASSPHRASE: ${{ secrets.CENTRAL_GPG_KEY_PASSWORD }}
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
diff --git a/pom.xml b/pom.xml
index 59745f8..c21a2dc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,8 +7,9 @@
distributed-latch
1.0.0-SNAPSHOT
+ Distributed Latch
https://github.com/PhonePe/DistributedLatch
- Distributed Latch
+ A high-performance, distributed latch library for Java supporting CountDown and CountUpDown semantics.
2026
@@ -65,6 +66,17 @@
+
+
+ ossrh
+ https://oss.sonatype.org/content/repositories/snapshots
+
+
+ ossrh
+ https://oss.sonatype.org/service/local/staging/deploy/maven2/
+
+
+
1.18.22
2.4.5