File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -529,7 +529,7 @@ publish {
529529
530530publishing {
531531 publications {
532- create( " mavenJava" , MavenPublication ) {
532+ mavenJava( MavenPublication ) {
533533 artifactId = ' jsqlparser'
534534
535535 from components. java
@@ -584,8 +584,8 @@ publishing {
584584 repositories {
585585 maven {
586586 name = " ossrh"
587- def releasesRepoUrl = " https://oss .sonatype.org/service/local/staging/deploy/maven2/ "
588- def snapshotsRepoUrl = " https://oss .sonatype.org/content/repositories/ snapshots/"
587+ def releasesRepoUrl = " https://central .sonatype.com/repository/maven-releases "
588+ def snapshotsRepoUrl = " https://central .sonatype.com/repository/maven- snapshots/"
589589 url(version. endsWith(' SNAPSHOT' ) ? snapshotsRepoUrl : releasesRepoUrl)
590590
591591 credentials {
Original file line number Diff line number Diff line change 135135 <distributionManagement >
136136 <repository >
137137 <id >sonatype-nexus-staging</id >
138- <url >https://oss .sonatype.org/service/local/staging/deploy/maven2/ </url >
138+ <url >https://central .sonatype.com/repository/maven-releases </url >
139139 </repository >
140140 <snapshotRepository >
141- <id >sonatype-nexus-snapshots</id >
142- <url >https://oss .sonatype.org/content/repositories/ snapshots/</url >
141+ <id >sonatype-nexus-snapshots</id >
142+ <url >https://central .sonatype.com/repository/maven- snapshots/</url >
143143 <releases ><enabled >false</enabled ></releases >
144144 <snapshots ><enabled >true</enabled ></snapshots >
145145 </snapshotRepository >
You can’t perform that action at this time.
0 commit comments