diff --git a/maven-settings.xml b/maven-settings.xml index 1c8cafc..4462d66 100644 --- a/maven-settings.xml +++ b/maven-settings.xml @@ -2,7 +2,7 @@ xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> - ossrh + ossrh-staging-api ${env.MAVEN_CENTRAL_TOKEN_USERNAME} ${env.MAVEN_CENTRAL_TOKEN_PASSWORD} diff --git a/pom.xml b/pom.xml index 3982d8e..a1970c2 100644 --- a/pom.xml +++ b/pom.xml @@ -101,12 +101,12 @@ - ossrh - https://s01.oss.sonatype.org/content/repositories/snapshots + ossrh-staging-api + https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots - ossrh - https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + ossrh-staging-api + https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/ @@ -190,11 +190,11 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.7 + 1.6.14 true - ossrh - https://s01.oss.sonatype.org/ + ossrh-staging-api + https://ossrh-staging-api.central.sonatype.com/