mirror of
https://github.com/datahub-project/datahub.git
synced 2025-11-07 06:13:40 +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 {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||||
credentials {
|
credentials {
|
||||||
@ -112,7 +112,7 @@ signing {
|
|||||||
|
|
||||||
// Required to submit jar file to staging repo of maven central
|
// Required to submit jar file to staging repo of maven central
|
||||||
nexusStaging {
|
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")
|
username = System.getenv("NEXUS_USERNAME")
|
||||||
password = System.getenv("NEXUS_PASSWORD")
|
password = System.getenv("NEXUS_PASSWORD")
|
||||||
}
|
}
|
||||||
|
|||||||
@ -97,8 +97,8 @@ publishing {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||||
credentials {
|
credentials {
|
||||||
@ -119,7 +119,7 @@ signing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nexusStaging {
|
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
|
//required only for projects registered in Sonatype after 2021-02-24
|
||||||
username = System.getenv("NEXUS_USERNAME")
|
username = System.getenv("NEXUS_USERNAME")
|
||||||
password = System.getenv("NEXUS_PASSWORD")
|
password = System.getenv("NEXUS_PASSWORD")
|
||||||
|
|||||||
@ -234,8 +234,8 @@ publishing {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||||
credentials {
|
credentials {
|
||||||
@ -255,7 +255,7 @@ signing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nexusStaging {
|
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
|
//required only for projects registered in Sonatype after 2021-02-24
|
||||||
username = System.getenv("NEXUS_USERNAME")
|
username = System.getenv("NEXUS_USERNAME")
|
||||||
password = System.getenv("NEXUS_PASSWORD")
|
password = System.getenv("NEXUS_PASSWORD")
|
||||||
|
|||||||
@ -170,8 +170,8 @@ publishing {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||||
credentials {
|
credentials {
|
||||||
@ -191,7 +191,7 @@ signing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nexusStaging {
|
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")
|
username = System.getenv("NEXUS_USERNAME")
|
||||||
password = System.getenv("NEXUS_PASSWORD")
|
password = System.getenv("NEXUS_PASSWORD")
|
||||||
}
|
}
|
||||||
|
|||||||
@ -93,8 +93,8 @@ publishing {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||||
credentials {
|
credentials {
|
||||||
@ -120,7 +120,7 @@ signing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nexusStaging {
|
nexusStaging {
|
||||||
serverUrl = "https://s01.oss.sonatype.org/service/local/"
|
serverUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/"
|
||||||
username = System.getenv("NEXUS_USERNAME")
|
username = System.getenv("NEXUS_USERNAME")
|
||||||
password = System.getenv("NEXUS_PASSWORD")
|
password = System.getenv("NEXUS_PASSWORD")
|
||||||
}
|
}
|
||||||
@ -205,8 +205,8 @@ publishing {
|
|||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
def releasesRepoUrl = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/"
|
def releasesRepoUrl = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/"
|
||||||
def snapshotsRepoUrl = "https://s01.oss.sonatype.org/content/repositories/snapshots/"
|
def snapshotsRepoUrl = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/"
|
||||||
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
def ossrhUsername = System.getenv('RELEASE_USERNAME')
|
||||||
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
def ossrhPassword = System.getenv('RELEASE_PASSWORD')
|
||||||
credentials {
|
credentials {
|
||||||
@ -227,7 +227,7 @@ signing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
nexusStaging {
|
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")
|
username = System.getenv("NEXUS_USERNAME")
|
||||||
password = System.getenv("NEXUS_PASSWORD")
|
password = System.getenv("NEXUS_PASSWORD")
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user