File tree Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Expand file tree Collapse file tree 2 files changed +6
-18
lines changed Original file line number Diff line number Diff line change 38
38
with :
39
39
java-version : ' 11'
40
40
distribution : ' temurin'
41
- server-id : ossrh
41
+ server-id : central
42
42
server-username : MAVEN_USERNAME
43
43
server-password : MAVEN_PASSWORD
44
44
gpg-private-key : ${{ secrets.GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change @@ -52,17 +52,6 @@ under the License.
52
52
<url >https://github.com/getindata/flink-http-connector/tree/main</url >
53
53
</scm >
54
54
55
- <distributionManagement >
56
- <snapshotRepository >
57
- <id >ossrh</id >
58
- <url >https://s01.oss.sonatype.org/content/repositories/snapshots</url >
59
- </snapshotRepository >
60
- <repository >
61
- <id >ossrh</id >
62
- <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
63
- </repository >
64
- </distributionManagement >
65
-
66
55
<properties >
67
56
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
68
57
@@ -541,14 +530,13 @@ under the License.
541
530
</plugin >
542
531
543
532
<plugin >
544
- <groupId >org.sonatype.plugins </groupId >
545
- <artifactId >nexus-staging -maven-plugin</artifactId >
546
- <version >1.6.13 </version >
533
+ <groupId >org.sonatype.central </groupId >
534
+ <artifactId >central-publishing -maven-plugin</artifactId >
535
+ <version >0.8.0 </version >
547
536
<extensions >true</extensions >
548
537
<configuration >
549
- <serverId >ossrh</serverId >
550
- <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
551
- <autoReleaseAfterClose >true</autoReleaseAfterClose >
538
+ <publishingServerId >central</publishingServerId >
539
+ <autoPublish >true</autoPublish >
552
540
</configuration >
553
541
</plugin >
554
542
You can’t perform that action at this time.
0 commit comments