Skip to content

Commit 3e5a099

Browse files
committed
change to new maven central
1 parent d788ca4 commit 3e5a099

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

pom.xml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
<extensions>true</extensions>
228228
<configuration>
229229
<serverId>ossrh</serverId>
230-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
230+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
231231
<autoReleaseAfterClose>false</autoReleaseAfterClose>
232232
</configuration>
233233
</plugin>
@@ -256,7 +256,7 @@
256256
<distributionManagement>
257257
<repository>
258258
<id>ossrh</id>
259-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
259+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
260260
</repository>
261261
</distributionManagement>
262262
<pluginRepositories>
@@ -265,7 +265,7 @@
265265
<enabled>true</enabled>
266266
</snapshots>
267267
<id>maven-snapshot</id>
268-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
268+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
269269
</pluginRepository>
270270
</pluginRepositories>
271271
</profile>
@@ -281,7 +281,7 @@
281281
<extensions>true</extensions>
282282
<configuration>
283283
<serverId>ossrh</serverId>
284-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
284+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
285285
<autoReleaseAfterClose>false</autoReleaseAfterClose>
286286
</configuration>
287287
</plugin>
@@ -310,16 +310,20 @@
310310
<distributionManagement>
311311
<snapshotRepository>
312312
<id>ossrh</id>
313-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
313+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
314314
</snapshotRepository>
315+
<repository>
316+
<id>ossrh</id>
317+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
318+
</repository>
315319
</distributionManagement>
316320
<repositories>
317321
<repository>
318322
<snapshots>
319323
<enabled>true</enabled>
320324
</snapshots>
321325
<id>maven-snapshot</id>
322-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
326+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
323327
</repository>
324328
</repositories>
325329
<pluginRepositories>
@@ -328,7 +332,7 @@
328332
<enabled>true</enabled>
329333
</snapshots>
330334
<id>maven-snapshot</id>
331-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
335+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
332336
</pluginRepository>
333337
</pluginRepositories>
334338
</profile>

0 commit comments

Comments
 (0)