Skip to content

Commit 3a5ee60

Browse files
committed
Use central-publishing-maven-plugin
1 parent 5ba6145 commit 3a5ee60

File tree

1 file changed

+15
-16
lines changed

1 file changed

+15
-16
lines changed

pom.xml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@
3535
<url>https://github.com/getindata/flink-connector-jdbc-elasticsearch-dialect/tree/main</url>
3636
</scm>
3737

38-
<distributionManagement>
39-
<snapshotRepository>
40-
<id>ossrh</id>
41-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
42-
</snapshotRepository>
43-
<repository>
44-
<id>ossrh</id>
45-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
46-
</repository>
47-
</distributionManagement>
38+
<!-- <distributionManagement>-->
39+
<!-- <snapshotRepository>-->
40+
<!-- <id>ossrh</id>-->
41+
<!-- <url>https://https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots</url>-->
42+
<!-- </snapshotRepository>-->
43+
<!-- <repository>-->
44+
<!-- <id>ossrh</id>-->
45+
<!-- <url>https://https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url>-->
46+
<!-- </repository>-->
47+
<!-- </distributionManagement>-->
4848

4949
<properties>
5050
<maven.compiler.source>11</maven.compiler.source>
@@ -500,14 +500,13 @@
500500
</plugin>
501501

502502
<plugin>
503-
<groupId>org.sonatype.plugins</groupId>
504-
<artifactId>nexus-staging-maven-plugin</artifactId>
505-
<version>1.6.13</version>
503+
<groupId>org.sonatype.central</groupId>
504+
<artifactId>central-publishing-maven-plugin</artifactId>
505+
<version>0.8.0</version>
506506
<extensions>true</extensions>
507507
<configuration>
508-
<serverId>ossrh</serverId>
509-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
510-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
508+
<publishingServerId>central</publishingServerId>
509+
<autoPublish>true</autoPublish>
511510
</configuration>
512511
</plugin>
513512

0 commit comments

Comments
 (0)