From 4df37cf8ec466ffdce8ceaeef4f286bd43f05636 Mon Sep 17 00:00:00 2001
From: sbansla <104902068+sbansla@users.noreply.github.com>
Date: Mon, 30 Jun 2025 13:14:24 +0530
Subject: [PATCH 1/3] added plugin for publishing to central repo (#868)
---
pom.xml | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/pom.xml b/pom.xml
index adbd3f78d..69033e805 100644
--- a/pom.xml
+++ b/pom.xml
@@ -104,14 +104,13 @@
- 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
@@ -491,9 +490,4 @@
-
- org.sonatype.oss
- oss-parent
- 7
-
\ No newline at end of file
From 78a8ccd5116af58a7c8250c282bff97dce846286 Mon Sep 17 00:00:00 2001
From: sbansla <104902068+sbansla@users.noreply.github.com>
Date: Mon, 30 Jun 2025 15:53:32 +0530
Subject: [PATCH 2/3] chore: change server-id for central repo (#870)
* changing server-id to central
---
.github/workflows/test-and-deploy.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml
index f30392e5f..07178db5f 100644
--- a/.github/workflows/test-and-deploy.yml
+++ b/.github/workflows/test-and-deploy.yml
@@ -106,7 +106,7 @@ jobs:
with:
java-version: 11
distribution: temurin
- server-id: ossrh
+ server-id: central
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
From 9c2ba4dbc185c5576e67fbeb82ec6f4899093e79 Mon Sep 17 00:00:00 2001
From: Shubham
Date: Fri, 4 Jul 2025 12:04:19 +0530
Subject: [PATCH 3/3] chore: updating maven repository link in release notes
(#876)
---
.github/workflows/test-and-deploy.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/test-and-deploy.yml b/.github/workflows/test-and-deploy.yml
index 07178db5f..d9aace8a7 100644
--- a/.github/workflows/test-and-deploy.yml
+++ b/.github/workflows/test-and-deploy.yml
@@ -62,7 +62,7 @@ jobs:
with:
distribution: 'zulu'
java-version: '17'
-
+
- name: SonarCloud Scan
if: ${{ (github.event_name == 'pull_request' || github.ref_type == 'branch') && matrix.java == 11 && !github.event.pull_request.head.repo.fork }}
env:
@@ -94,7 +94,7 @@ jobs:
- name: Create GitHub Release
uses: sendgrid/dx-automator/actions/release@main
with:
- footer: '**[Maven](https://mvnrepository.com/artifact/com.twilio.sdk/twilio/${version})**'
+ footer: '**[Maven](https://central.sonatype.com/artifact/com.twilio.sdk/twilio/${version})**'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}