File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 520
520
<plugins >
521
521
<!-- Begin publish to maven central -->
522
522
<plugin >
523
- <groupId >org.sonatype.plugins </groupId >
524
- <artifactId >nexus-staging -maven-plugin</artifactId >
525
- <version >1.7 .0</version >
523
+ <groupId >org.sonatype.central </groupId >
524
+ <artifactId >central-publishing -maven-plugin</artifactId >
525
+ <version >0.8 .0</version >
526
526
<extensions >true</extensions >
527
527
<configuration >
528
- <serverId >ossrh</serverId >
529
- <nexusUrl >https://s01.oss.sonatype.org/</nexusUrl >
530
- <autoReleaseAfterClose >true</autoReleaseAfterClose >
528
+ <publishingServerId >central</publishingServerId >
529
+ <autoPublish >true</autoPublish >
531
530
</configuration >
532
531
</plugin >
533
532
<!-- End publish to maven central -->
711
710
712
711
<distributionManagement >
713
712
<snapshotRepository >
714
- <id >ossrh </id >
715
- <url >https://s01.oss. sonatype.org/content/repositories/ snapshots</url >
713
+ <id >central </id >
714
+ <url >https://central. sonatype.com/repository/maven- snapshots/ </url >
716
715
</snapshotRepository >
717
716
</distributionManagement >
718
717
Original file line number Diff line number Diff line change 5
5
<username >${env.OSSRH_USERNAME}</username >
6
6
<password >${env.OSSRH_PASSWORD}</password >
7
7
</server >
8
+ <server >
9
+ <id >central</id >
10
+ <username >${env.CENTRAL_USERNAME}</username >
11
+ <password >${env.CENTRAL_PASSWORD}</password >
12
+ </server >
8
13
</servers >
9
14
</settings >
You can’t perform that action at this time.
0 commit comments