From cf4d5eb380578c64c7c514096e553c0ff64d763d Mon Sep 17 00:00:00 2001
From: mandlil <138015259+mandlil@users.noreply.github.com>
Date: Thu, 3 Jul 2025 07:55:31 +0530
Subject: [PATCH] Updated OSSRH(Nexus repository) to Central Publisher Portal
to upload in maven repository
As of June 30, 2025 OSSRH has reached end of life and has been shut down. All OSSRH namespaces have been migrated to Central Publisher Portal.
https://central.sonatype.org/pages/ossrh-eol/#process-to-migrate
---
java/pom.xml | 17 ++++-------------
1 file changed, 4 insertions(+), 13 deletions(-)
diff --git a/java/pom.xml b/java/pom.xml
index bb568dab3..254820d56 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -7,12 +7,6 @@
pom
https://github.com/google/libphonenumber/
-
- org.sonatype.oss
- oss-parent
- 7
-
-
Google's common Java library for parsing, formatting, storing and validating
international phone numbers.
@@ -173,15 +167,12 @@
- org.sonatype.plugins
- nexus-staging-maven-plugin
- 1.6.13
+ org.sonatype.central
+ central-publishing-maven-plugin
+ 0.8.0
true
- sonatype-nexus-staging
- https://oss.sonatype.org/
- 23ed8fbc71e875
- true
+ central