Skip to content

Commit 7ab1ec7

Browse files
committed
fix: maven url used for publishing
1 parent 8f169f5 commit 7ab1ec7

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

pom.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@
7171
<distributionManagement>
7272
<snapshotRepository>
7373
<id>ossrh</id>
74-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
74+
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
7575
</snapshotRepository>
7676
<repository>
7777
<id>ossrh</id>
78-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
78+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2</url>
7979
</repository>
8080
</distributionManagement>
8181
<properties>
@@ -186,14 +186,15 @@
186186
<release>8</release>
187187
</configuration>
188188
</plugin>
189+
<!-- TODO: Switch to new central-publishing-maven-plugin -->
189190
<plugin>
190191
<groupId>org.sonatype.plugins</groupId>
191192
<artifactId>nexus-staging-maven-plugin</artifactId>
192-
<version>1.6.13</version>
193+
<version>1.7.0</version>
193194
<extensions>true</extensions>
194195
<configuration>
195196
<serverId>ossrh</serverId>
196-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
197+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
197198
<autoReleaseAfterClose>true</autoReleaseAfterClose>
198199
</configuration>
199200
</plugin>

0 commit comments

Comments
 (0)