Skip to content

Commit 5af8f2c

Browse files
authored
Fix publishing to OSSRH (#484)
* fix CI Signed-off-by: Gal Ovadia <govadia@palantir.com> Signed-off-by: Gal Ovadia <ggalovadia@gmail.com> * fix CI Signed-off-by: Gal Ovadia <govadia@palantir.com> Signed-off-by: Gal Ovadia <ggalovadia@gmail.com> * fix Signed-off-by: Gal Ovadia <ggalovadia@gmail.com> --------- Signed-off-by: Gal Ovadia <govadia@palantir.com> Signed-off-by: Gal Ovadia <ggalovadia@gmail.com>
1 parent cea342a commit 5af8f2c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.circleci/settings-snapshots.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<repositories>
1414
<repository>
1515
<id>sonatype-nexus-snapshots</id>
16-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
16+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
1717
<layout>default</layout>
1818
<releases>
1919
<enabled>false</enabled>

.circleci/settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<repositories>
1919
<repository>
2020
<id>sonatype-staging</id>
21-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
21+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
2222
<layout>default</layout>
2323
<releases>
2424
<enabled>true</enabled>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
<distributionManagement>
106106
<snapshotRepository>
107107
<id>sonatype-nexus-snapshots</id>
108-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
108+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
109109
</snapshotRepository>
110110
</distributionManagement>
111111

@@ -226,7 +226,7 @@
226226
<extensions>true</extensions>
227227
<configuration>
228228
<serverId>sonatype-nexus-staging</serverId>
229-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
229+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
230230
<autoReleaseAfterClose>true</autoReleaseAfterClose>
231231
<stagingProgressTimeoutMinutes>20</stagingProgressTimeoutMinutes>
232232
</configuration>

0 commit comments

Comments
 (0)