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].
15
15
16
16
# snapshot repository
17
17
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.
19
19
20
20
21
21
[ 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 {
18
18
mavenLocal()
19
19
mavenCentral()
20
20
maven {
21
- url = " https://oss .sonatype.org /content/repositories/snapshots"
21
+ url = " https://central .sonatype.com /content/repositories/snapshots"
22
22
}
23
23
}
24
24
Original file line number Diff line number Diff line change @@ -49,8 +49,8 @@ publishing {
49
49
50
50
repositories {
51
51
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" )
54
54
url = project. isReleaseVersion ? releaseRepository : snapshotRepository
55
55
56
56
credentials {
@@ -76,6 +76,9 @@ nexusPublishing {
76
76
sonatype() {
77
77
username = publishUser
78
78
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/" )
79
82
}
80
83
}
81
84
}
You can’t perform that action at this time.
0 commit comments