Skip to content

Commit df0ce74

Browse files
authored
Change deploy repo to mavenCentral (#239)
Nexus2 repo is being sunsetted. The config options I removed aren't available or necessary on the mavenCentral deployer.
1 parent 647374b commit df0ce74

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

build.gradle.kts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -358,13 +358,10 @@ jreleaser {
358358

359359
deploy {
360360
maven {
361-
nexus2 {
361+
mavenCentral {
362362
create("maven-central") {
363363
active = Active.ALWAYS
364-
url = "https://aws.oss.sonatype.org/service/local"
365-
snapshotUrl = "https://aws.oss.sonatype.org/content/repositories/snapshots"
366-
closeRepository = true
367-
releaseRepository = true
364+
url = "https://central.sonatype.com/api/v1/publisher"
368365
stagingRepository(stagingDirectory.get().toString())
369366
}
370367
}

0 commit comments

Comments
 (0)