Skip to content

Commit 4101355

Browse files
authored
update java packages to use central instead of ossrh (vitessio#18765)
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
1 parent ff495f0 commit 4101355

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

java/client/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<version>24.0.0-SNAPSHOT</version>
99
</parent>
1010
<artifactId>vitess-client</artifactId>
11+
<name>Vitess Java Client</name>
1112

1213
<dependencies>
1314
<dependency>

java/example/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<version>24.0.0-SNAPSHOT</version>
99
</parent>
1010
<artifactId>vitess-example</artifactId>
11+
<name>Vitess Java Client Example</name>
1112

1213
<dependencies>
1314
<dependency>

java/grpc-client/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<version>24.0.0-SNAPSHOT</version>
99
</parent>
1010
<artifactId>vitess-grpc-client</artifactId>
11+
<name>Vitess gRPC Client</name>
1112

1213
<dependencies>
1314
<dependency>

java/jdbc/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<version>24.0.0-SNAPSHOT</version>
99
</parent>
1010
<artifactId>vitess-jdbc</artifactId>
11+
<name>Vitess JDBC Driver</name>
1112

1213
<dependencies>
1314
<dependency>

java/pom.xml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,8 @@
222222

223223
<distributionManagement>
224224
<snapshotRepository>
225-
<id>ossrh</id>
226-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
225+
<id>central</id>
226+
<url>https://central.sonatype.com</url>
227227
</snapshotRepository>
228228
</distributionManagement>
229229

@@ -291,14 +291,13 @@
291291
<build>
292292
<plugins>
293293
<plugin>
294-
<groupId>org.sonatype.plugins</groupId>
295-
<artifactId>nexus-staging-maven-plugin</artifactId>
296-
<version>1.7.0</version>
294+
<groupId>org.sonatype.central</groupId>
295+
<artifactId>central-publishing-maven-plugin</artifactId>
296+
<version>0.6.0</version>
297297
<extensions>true</extensions>
298298
<configuration>
299-
<serverId>ossrh</serverId>
300-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
301-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
299+
<publishingServerId>central</publishingServerId>
300+
<autoPublish>true</autoPublish>
302301
</configuration>
303302
</plugin>
304303
<plugin>

0 commit comments

Comments
 (0)