Skip to content

Commit 3100cfe

Browse files
authored
Updated OSSRH(Nexus repository) to Central Publisher Portal to upload in maven repository (#3878)
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
1 parent 5e35f6e commit 3100cfe

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

java/pom.xml

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@
77
<packaging>pom</packaging>
88
<url>https://github.com/google/libphonenumber/</url>
99

10-
<parent>
11-
<groupId>org.sonatype.oss</groupId>
12-
<artifactId>oss-parent</artifactId>
13-
<version>7</version>
14-
</parent>
15-
1610
<description>
1711
Google's common Java library for parsing, formatting, storing and validating
1812
international phone numbers.
@@ -173,15 +167,12 @@
173167
</configuration>
174168
</plugin>
175169
<plugin>
176-
<groupId>org.sonatype.plugins</groupId>
177-
<artifactId>nexus-staging-maven-plugin</artifactId>
178-
<version>1.6.13</version>
170+
<groupId>org.sonatype.central</groupId>
171+
<artifactId>central-publishing-maven-plugin</artifactId>
172+
<version>0.8.0</version>
179173
<extensions>true</extensions>
180174
<configuration>
181-
<serverId>sonatype-nexus-staging</serverId>
182-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
183-
<stagingProfileId>23ed8fbc71e875</stagingProfileId>
184-
<skipStagingRepositoryClose>true</skipStagingRepositoryClose>
175+
<publishingServerId>central</publishingServerId>
185176
</configuration>
186177
</plugin>
187178
</plugins>

0 commit comments

Comments
 (0)