File tree Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 4040
4141 - name : ' Set up Maven settings'
4242 run : |
43- echo "<settings><interactiveMode>false</interactiveMode><servers><server><id>ossrh </id><username>${{ secrets.OSSRH_USERNAME }}</username><password>${{ secrets.OSSRH_PASSWORD }}</password></server></servers></settings>" > ./settings.xml
43+ echo "<settings><interactiveMode>false</interactiveMode><servers><server><id>sonatype-central </id><username>${{ secrets.OSSRH_USERNAME }}</username><password>${{ secrets.OSSRH_PASSWORD }}</password></server></servers></settings>" > ./settings.xml
4444
4545 - name : ' Deploy Maven Central'
4646 run : |
Original file line number Diff line number Diff line change 5858 <url >https://github.com/streamthoughts/kafka-connect-file-pulse</url >
5959
6060 <distributionManagement >
61- <snapshotRepository >
62- <id >ossrh</id >
63- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
64- </snapshotRepository >
6561 <repository >
66- <id >ossrh </id >
67- <url >https://oss .sonatype.org/service/local/staging/deploy/maven2/ </url >
62+ <id >sonatype-central </id >
63+ <url >https://central .sonatype.com/api/v1/publisher/maven </url >
6864 </repository >
6965 </distributionManagement >
7066
412408 </executions >
413409 </plugin >
414410 <plugin >
415- <groupId >org.sonatype.plugins </groupId >
416- <artifactId >nexus-staging -maven-plugin</artifactId >
417- <version >1 .7.0</version >
411+ <groupId >org.sonatype.central </groupId >
412+ <artifactId >central-publishing -maven-plugin</artifactId >
413+ <version >0 .7.0</version >
418414 <extensions >true</extensions >
419415 <configuration >
420- <serverId >ossrh</ serverId >
421- <nexusUrl >https://oss.sonatype.org/</ nexusUrl >
422- <autoReleaseAfterClose >false</ autoReleaseAfterClose >
416+ <publishingServerId >sonatype-central</ publishingServerId >
417+ <autoPublish >true</ autoPublish >
418+ <waitUntil >published</ waitUntil >
423419 </configuration >
424420 </plugin >
425421 <plugin >
You can’t perform that action at this time.
0 commit comments