From d88b2cc07da6dcb5b9f0085645f56171d8b72237 Mon Sep 17 00:00:00 2001 From: Sarath Menon Date: Tue, 5 May 2026 12:43:47 +0530 Subject: [PATCH] feat: upgraded the sonatype to central --- maven-settings.xml | 11 +++++---- pom.xml | 59 ++++++++++++++++++++-------------------------- 2 files changed, 33 insertions(+), 37 deletions(-) diff --git a/maven-settings.xml b/maven-settings.xml index c775ce6..0d79a83 100644 --- a/maven-settings.xml +++ b/maven-settings.xml @@ -4,11 +4,14 @@ ~ SPDX-License-Identifier: BSD-3-Clause ~ For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/BSD-3-Clause --> - - + - ossrh + central ${env.MAVEN_CENTRAL_USER} ${env.MAVEN_CENTRAL_TOKEN} @@ -17,4 +20,4 @@ ${env.MAVEN_GPG_PASSPHRASE} - \ No newline at end of file + diff --git a/pom.xml b/pom.xml index ac01714..22819e7 100644 --- a/pom.xml +++ b/pom.xml @@ -1,17 +1,20 @@ - + - - + 4.0.0 com.salesforce.einsteinbot einstein-bot-sdk-java - 3.0.5-SNAPSHOT + 3.0.5 jar einstein-bot-sdk-java Java SDK to interact with Einstein Bots Runtime. @@ -44,7 +47,8 @@ and this property decides on which API version will be used in the SDK. --> 5_3_0 v${api-spec-version}_api_specs.yml - https://runtime-api-na-west.prod.chatbots.sfdc.sh/docs/specs/${api-spec-yaml-file} + https://runtime-api-na-west.prod.chatbots.sfdc.sh/docs/specs/${api-spec-yaml-file} @@ -86,12 +90,12 @@ - ossrh - https://oss.sonatype.org/service/local/staging/deploy/maven2/ + central + https://central.sonatype.com - ossrh - https://oss.sonatype.org/content/repositories/snapshots + central + https://central.sonatype.com @@ -250,14 +254,13 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 + org.sonatype.central + central-publishing-maven-plugin + 0.7.0 true - ossrh - https://oss.sonatype.org/ - true + central + true @@ -489,7 +492,7 @@ --pinentry-mode loopback - 0x0CACA983 + {REPLACE_THIS_WITH_GPG_KEY_ID} @@ -509,27 +512,17 @@ - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.13 - - - default-deploy - deploy - - deploy - - - + org.sonatype.central + central-publishing-maven-plugin + 0.7.0 + true - ossrh - https://oss.sonatype.org/ - true - 15 + central + true - \ No newline at end of file +