File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -237,7 +237,7 @@ def configureRepositores(project) {
237237 }
238238 if (project. version. endsWith(" -SNAPSHOT" )) {
239239 maven {
240- url = uri(" https://oss .sonatype.org/content/repositories/ snapshots" )
240+ url = uri(" https://central .sonatype.com/repository/maven- snapshots/ " )
241241 }
242242 }
243243 mavenLocal()
@@ -467,14 +467,14 @@ def publishArtifacts(project, scope) {
467467 if (project. version. endsWith(" -SNAPSHOT" )) {
468468 maven {
469469 name = " sonatype"
470- url = " https://oss .sonatype.org/content/repositories/ snapshots"
470+ url = " https://central .sonatype.com/repository/maven- snapshots/ "
471471 configureCredentials. delegate = credentials
472472 configureCredentials()
473473 }
474474 } else {
475475 maven {
476476 name = " sonatype"
477- url = " https://oss. sonatype.org /service/local/staging/deploy/maven2/"
477+ url = " https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/"
478478 configureCredentials. delegate = credentials
479479 configureCredentials()
480480 }
You can’t perform that action at this time.
0 commit comments