Skip to content

Commit 13ae265

Browse files
authored
Merge pull request #10769 from Alexey-Rivkin/topic/jucx_publish_migrate_v1.19.x
CI: Migrate JUCX publish from OSSRH to Central Portal - v1.19.x
2 parents 5b99914 + 3c952c1 commit 13ae265

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

bindings/java/pom.xml.in

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,12 @@
172172

173173
<distributionManagement>
174174
<snapshotRepository>
175-
<id>ossrh</id>
176-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
175+
<id>central</id>
176+
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
177177
</snapshotRepository>
178178
<repository>
179-
<id>ossrh</id>
180-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
179+
<id>central</id>
180+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
181181
</repository>
182182
</distributionManagement>
183183

@@ -450,11 +450,11 @@
450450
<plugin>
451451
<groupId>org.sonatype.plugins</groupId>
452452
<artifactId>nexus-staging-maven-plugin</artifactId>
453-
<version>1.6.8</version>
453+
<version>1.6.13</version>
454454
<extensions>true</extensions>
455455
<configuration>
456-
<serverId>ossrh</serverId>
457-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
456+
<serverId>central</serverId>
457+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
458458
<autoReleaseAfterClose>true</autoReleaseAfterClose>
459459
</configuration>
460460
</plugin>

buildlib/jucx/jucx-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
set -eE
5454
{
5555
echo -e "<settings><servers><server>"
56-
echo -e "<id>ossrh</id><username>$(SONATYPE_USERNAME)</username>"
56+
echo -e "<id>central</id><username>$(SONATYPE_USERNAME)</username>"
5757
echo -e "<password>$(SONATYPE_PASSWORD)</password>"
5858
echo -e "</server></servers></settings>"
5959
} > $(temp_cfg)

0 commit comments

Comments
 (0)