This repository was archived by the owner on Apr 27, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 with :
2323 java-version : 11.0
2424 distribution : ' adopt'
25- server-id : ossrh
25+ server-id : central
2626 server-username : MAVEN_USERNAME
2727 server-password : MAVEN_PASSWORD
2828 gpg-private-key : ${{ secrets.SONATYPE_GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 3030 with :
3131 java-version : 11.0
3232 distribution : ' adopt'
33- server-id : ossrh
33+ server-id : central
3434 server-username : MAVEN_USERNAME
3535 server-password : MAVEN_PASSWORD
3636 gpg-private-key : ${{ secrets.SONATYPE_GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change 5353 </scm >
5454
5555 <distributionManagement >
56- <repository >
57- <id >ossrh</id >
58- <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
59- </repository >
6056 <snapshotRepository >
61- <id >ossrh </id >
62- <url >https://s01.oss. sonatype.org/content/repositories/ snapshots</url >
57+ <id >central </id >
58+ <url >https://central. sonatype.com/repository/maven- snapshots/ </url >
6359 </snapshotRepository >
6460 </distributionManagement >
6561
286282 </executions >
287283 </plugin >
288284 <plugin >
289- <groupId >org.sonatype.plugins </groupId >
290- <artifactId >nexus-staging -maven-plugin</artifactId >
291- <version >1.6.8 </version >
285+ <groupId >org.sonatype.central </groupId >
286+ <artifactId >central-publishing -maven-plugin</artifactId >
287+ <version >0.10.0 </version >
292288 <extensions >true</extensions >
293289 <configuration >
294- <serverId >ossrh</ serverId >
295- <nexusUrl >https://s01.oss.sonatype.org/</ nexusUrl >
296- <autoReleaseAfterClose >true</ autoReleaseAfterClose >
290+ <publishingServerId >central</ publishingServerId >
291+ <autoPublish >true</ autoPublish >
292+ <waitUntil >published</ waitUntil >
297293 </configuration >
298294 </plugin >
299295 </plugins >
Original file line number Diff line number Diff line change 7474 </scm >
7575
7676 <distributionManagement >
77- <repository >
78- <id >ossrh</id >
79- <url >https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url >
80- </repository >
8177 <snapshotRepository >
82- <id >ossrh </id >
83- <url >https://s01.oss. sonatype.org/content/repositories/ snapshots</url >
78+ <id >central </id >
79+ <url >https://central. sonatype.com/repository/maven- snapshots/ </url >
8480 </snapshotRepository >
8581 </distributionManagement >
8682
411407 </dependencies >
412408 </dependencyManagement >
413409
414- <repositories >
415- <repository >
416- <releases >
417- <enabled >false</enabled >
418- </releases >
419- <snapshots >
420- <enabled >true</enabled >
421- </snapshots >
422- <id >apache.snapshots</id >
423- <name >Apache Development Snapshot Repository</name >
424- <url >https://repository.apache.org/content/repositories/snapshots/</url >
425- </repository >
426- <repository >
427- <snapshots >
428- <enabled >false</enabled >
429- </snapshots >
430- <id >ossrh</id >
431- <name >Sonatype OSS</name >
432- <url >https://oss.sonatype.org/content/repositories/releases/</url >
433- </repository >
434- </repositories >
435-
436410 <build >
437411 <pluginManagement >
438412 <plugins >
862836 </executions >
863837 </plugin >
864838 <plugin >
865- <groupId >org.sonatype.plugins </groupId >
866- <artifactId >nexus-staging -maven-plugin</artifactId >
867- <version >1.6.8 </version >
839+ <groupId >org.sonatype.central </groupId >
840+ <artifactId >central-publishing -maven-plugin</artifactId >
841+ <version >0.10.0 </version >
868842 <extensions >true</extensions >
869843 <configuration >
870- <serverId >ossrh</ serverId >
871- <nexusUrl >https://s01.oss.sonatype.org/</ nexusUrl >
872- <autoReleaseAfterClose >true</ autoReleaseAfterClose >
844+ <publishingServerId >central</ publishingServerId >
845+ <autoPublish >true</ autoPublish >
846+ <waitUntil >published</ waitUntil >
873847 </configuration >
874848 </plugin >
875849 </plugins >
You can’t perform that action at this time.
0 commit comments