mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-01 11:19:05 +00:00
fix(publish): use new ossrh endpoint in maven publish (#14416)
This commit is contained in:
parent
8143ceff62
commit
c6b14aaaf4
@ -90,8 +90,8 @@ publishing {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
||||
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||
credentials {
|
||||
@ -112,7 +112,7 @@ signing {
|
||||
|
||||
// Required to submit jar file to staging repo of maven central
|
||||
nexusStaging {
|
||||
serverUrl = "https://s01.oss.sonatype.org/service/local/" //required only for projects registered in Sonatype after 2021-02-24
|
||||
serverUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/" //required only for projects registered in Sonatype after 2021-02-24
|
||||
username = System.getenv("NEXUS_USERNAME")
|
||||
password = System.getenv("NEXUS_PASSWORD")
|
||||
}
|
||||
|
||||
@ -97,8 +97,8 @@ publishing {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
||||
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||
credentials {
|
||||
@ -119,7 +119,7 @@ signing {
|
||||
}
|
||||
|
||||
nexusStaging {
|
||||
serverUrl = "https://s01.oss.sonatype.org/service/local/"
|
||||
serverUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/"
|
||||
//required only for projects registered in Sonatype after 2021-02-24
|
||||
username = System.getenv("NEXUS_USERNAME")
|
||||
password = System.getenv("NEXUS_PASSWORD")
|
||||
|
||||
@ -234,8 +234,8 @@ publishing {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
||||
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||
credentials {
|
||||
@ -255,7 +255,7 @@ signing {
|
||||
}
|
||||
|
||||
nexusStaging {
|
||||
serverUrl = "https://s01.oss.sonatype.org/service/local/"
|
||||
serverUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/"
|
||||
//required only for projects registered in Sonatype after 2021-02-24
|
||||
username = System.getenv("NEXUS_USERNAME")
|
||||
password = System.getenv("NEXUS_PASSWORD")
|
||||
|
||||
@ -170,8 +170,8 @@ publishing {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
||||
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||
credentials {
|
||||
@ -191,7 +191,7 @@ signing {
|
||||
}
|
||||
|
||||
nexusStaging {
|
||||
serverUrl = "https://s01.oss.sonatype.org/service/local/" //required only for projects registered in Sonatype after 2021-02-24
|
||||
serverUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/" //required only for projects registered in Sonatype after 2021-02-24
|
||||
username = System.getenv("NEXUS_USERNAME")
|
||||
password = System.getenv("NEXUS_PASSWORD")
|
||||
}
|
||||
|
||||
@ -93,8 +93,8 @@ publishing {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
||||
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||
credentials {
|
||||
@ -120,7 +120,7 @@ signing {
|
||||
}
|
||||
|
||||
nexusStaging {
|
||||
serverUrl = "https://s01.oss.sonatype.org/service/local/"
|
||||
serverUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/"
|
||||
username = System.getenv("NEXUS_USERNAME")
|
||||
password = System.getenv("NEXUS_PASSWORD")
|
||||
}
|
||||
@ -205,8 +205,8 @@ publishing {
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
||||
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||
credentials {
|
||||
@ -227,7 +227,7 @@ signing {
|
||||
}
|
||||
|
||||
nexusStaging {
|
||||
serverUrl = "https://s01.oss.sonatype.org/service/local/" //required only for projects registered in Sonatype after 2021-02-24
|
||||
serverUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/" //required only for projects registered in Sonatype after 2021-02-24
|
||||
username = System.getenv("NEXUS_USERNAME")
|
||||
password = System.getenv("NEXUS_PASSWORD")
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user