From ea20994f867624b87868c145830b6bbef4b8afb4 Mon Sep 17 00:00:00 2001 From: ritwiksahani Date: Mon, 7 Jul 2025 13:33:32 +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. This was done as part of the last PR. --- pom.xml | 47 ++++++----------------------------------------- 1 file changed, 6 insertions(+), 41 deletions(-) diff --git a/pom.xml b/pom.xml index c60ed2b30..68790a49e 100644 --- a/pom.xml +++ b/pom.xml @@ -55,17 +55,6 @@ https://issues.cask.co/browse/CDAP - - - sonatype.release - https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2 - - - sonatype.snapshots - https://central.sonatype.com/repository/maven-snapshots - - - 7 UTF-8 @@ -118,16 +107,6 @@ - - sonatype - https://ossrh-staging-api.central.sonatype.com/content/groups/public - - true - - - false - - sonatype-snapshots https://central.sonatype.com/repository/maven-snapshots @@ -1098,29 +1077,15 @@ - - - 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://ossrh-staging-api.central.sonatype.com - sonatype.release + sonatype.release + false + true