Skip to content

Commit d73afba

Browse files
authored
Merge pull request #263 from alphagov/jar-migrate-to-ossrh-staging-api
Migrate to OSSRH staging api
2 parents d8e48ed + 0795a88 commit d73afba

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

maven-settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd">
33
<servers>
44
<server>
5-
<id>ossrh</id>
5+
<id>ossrh-staging-api</id>
66
<username>${env.MAVEN_CENTRAL_TOKEN_USERNAME}</username>
77
<password>${env.MAVEN_CENTRAL_TOKEN_PASSWORD}</password>
88
</server>

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,12 +101,12 @@
101101
</dependencies>
102102
<distributionManagement>
103103
<snapshotRepository>
104-
<id>ossrh</id>
105-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
104+
<id>ossrh-staging-api</id>
105+
<url>https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>
106106
</snapshotRepository>
107107
<repository>
108-
<id>ossrh</id>
109-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
108+
<id>ossrh-staging-api</id>
109+
<url>https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>
110110
</repository>
111111
</distributionManagement>
112112
<build>
@@ -190,11 +190,11 @@
190190
<plugin>
191191
<groupId>org.sonatype.plugins</groupId>
192192
<artifactId>nexus-staging-maven-plugin</artifactId>
193-
<version>1.6.7</version>
193+
<version>1.6.14</version>
194194
<extensions>true</extensions>
195195
<configuration>
196-
<serverId>ossrh</serverId>
197-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
196+
<serverId>ossrh-staging-api</serverId>
197+
<nexusUrl>https://ossrh-staging-api.central.sonatype.com/</nexusUrl>
198198
<!--
199199
set autoReleaseAfterClose to false if you want to push to maven's
200200
staging area but not release the package. For details see

0 commit comments

Comments
 (0)