From 5951d1f31cd1a264cf5b514abef1662ee36dd00c Mon Sep 17 00:00:00 2001 From: ritwiksahani Date: Mon, 7 Jul 2025 13:41:34 +0530 Subject: [PATCH] Migration to central sonatype repo. * Using the central-publishing-maven-plugin to release the changes. * Distribution management tag is no longer required with this plugin. * sonatype repository can be removed since we are pulling from central. * sonatype-snapshots pointed to https://central.sonatype.com/repository/maven-snapshots. --- pom.xml | 48 +++++++----------------------------------------- 1 file changed, 7 insertions(+), 41 deletions(-) diff --git a/pom.xml b/pom.xml index 198919e70..4cb4ae767 100644 --- a/pom.xml +++ b/pom.xml @@ -47,31 +47,10 @@ the License.--> HEAD - - - sonatype.release - https://oss.sonatype.org/service/local/staging/deploy/maven2 - - - sonatype.snapshots - https://oss.sonatype.org/content/repositories/snapshots - - - - - sonatype - https://oss.sonatype.org/content/groups/public - - true - - - false - - sonatype-snapshots - https://oss.sonatype.org/content/repositories/snapshots + https://central.sonatype.com/repository/maven-snapshots false @@ -256,27 +235,14 @@ the License.--> - org.apache.maven.plugins - maven-release-plugin - 2.5.3 - - v${releaseVersion} - v@{project.version} - true - - releases - - - - - org.sonatype.plugins - nexus-staging-maven-plugin - 1.6.2 + org.sonatype.central + central-publishing-maven-plugin + 0.8.0 true - https://oss.sonatype.org - sonatype.release + sonatype.release + false + true