File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed
Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ See [here][oap-docs].
1515
1616# snapshot repository
1717
18- to use snapshot versions add ` https://oss .sonatype.org/content/repositories/ snapshots ` as maven repository to your build file.
18+ to use snapshot versions add ` https://central .sonatype.com/repository/maven- snapshots ` as maven repository to your build file.
1919
2020
2121[ oap-central ] : https://search.maven.org/search?q=io.openapiprocessor
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ repositories {
1818 mavenLocal()
1919 mavenCentral()
2020 maven {
21- url = " https://oss .sonatype.org /content/repositories/snapshots"
21+ url = " https://central .sonatype.com /content/repositories/snapshots"
2222 }
2323}
2424
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ publishing {
4949
5050 repositories {
5151 maven {
52- def releaseRepository = uri(" https://oss. sonatype.org /service/local/staging/deploy/maven2" )
53- def snapshotRepository = uri(" https://oss .sonatype.org/content/repositories/ snapshots" )
52+ def releaseRepository = uri(" https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2" )
53+ def snapshotRepository = uri(" https://central .sonatype.com/repository/maven- snapshots" )
5454 url = project. isReleaseVersion ? releaseRepository : snapshotRepository
5555
5656 credentials {
@@ -76,6 +76,9 @@ nexusPublishing {
7676 sonatype() {
7777 username = publishUser
7878 password = publishKey
79+
80+ nexusUrl = uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" )
81+ snapshotRepositoryUrl = uri(" https://central.sonatype.com/repository/maven-snapshots/" )
7982 }
8083 }
8184}
You can’t perform that action at this time.
0 commit comments