Skip to content

Commit a393819

Browse files
authored
NO-TICKET: publish via central publisher portal (#29)
1 parent 82b68f2 commit a393819

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hypertrace-gradle-publish-maven-central-plugin/src/main/java/org/hypertrace/gradle/publishing/PublishMavenCentralPlugin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,9 @@ private void addPublishRepository() {
109109
Optional<String> password = getProperty(PROPERTY_OSSRH_PASSWORD);
110110

111111
if (project.getVersion().toString().endsWith("SNAPSHOT")) {
112-
url = "https://s01.oss.sonatype.org/content/repositories/snapshots/";
112+
url = "https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/";
113113
} else {
114-
url = "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/";
114+
url = "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/";
115115
}
116116

117117
if (user.isPresent() && password.isPresent()) {

0 commit comments

Comments
 (0)