Skip to content

Commit 12d732c

Browse files
authored
Merge pull request #360 from EasyPost/maven_central_url
fix: use new maven central urls for releasing
2 parents 706d343 + 12a40ce commit 12d732c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pom.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,11 +95,11 @@
9595
<distributionManagement>
9696
<snapshotRepository>
9797
<id>ossrh</id>
98-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
98+
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
9999
</snapshotRepository>
100100
<repository>
101101
<id>ossrh</id>
102-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
102+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2</url>
103103
</repository>
104104
</distributionManagement>
105105
<properties>
@@ -262,14 +262,15 @@
262262
</annotationProcessorPaths>
263263
</configuration>
264264
</plugin>
265+
<!-- TODO: Switch to new central-publishing-maven-plugin -->
265266
<plugin>
266267
<groupId>org.sonatype.plugins</groupId>
267268
<artifactId>nexus-staging-maven-plugin</artifactId>
268269
<version>1.7.0</version>
269270
<extensions>true</extensions>
270271
<configuration>
271272
<serverId>ossrh</serverId>
272-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
273+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com</nexusUrl>
273274
<autoReleaseAfterClose>true</autoReleaseAfterClose>
274275
</configuration>
275276
</plugin>

0 commit comments

Comments
 (0)