|
58 | 58 | <gpg.skip>false</gpg.skip> |
59 | 59 | <dependency-check.skip>false</dependency-check.skip> |
60 | 60 | </properties> |
61 | | - <distributionManagement> |
62 | | - <snapshotRepository> |
63 | | - <id>ossrh</id> |
64 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
65 | | - </snapshotRepository> |
66 | | - <repository> |
67 | | - <id>ossrh</id> |
68 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
69 | | - </repository> |
70 | | - </distributionManagement> |
71 | 61 | </profile> |
72 | 62 | <profile> |
73 | 63 | <id>nexus</id> |
|
134 | 124 | <maven-enforcer-plugin.version>3.4.1</maven-enforcer-plugin.version> |
135 | 125 | <extra-enforcer-rules.version>1.7.0</extra-enforcer-rules.version> |
136 | 126 |
|
137 | | - <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> |
| 127 | + <central-publishing-maven-plugin.version>0.8.0</central-publishing-maven-plugin.version> |
138 | 128 |
|
139 | 129 | <maven-source-plugin.version>3.3.0</maven-source-plugin.version> |
140 | 130 |
|
|
362 | 352 | </plugin> |
363 | 353 |
|
364 | 354 | <plugin> |
365 | | - <groupId>org.sonatype.plugins</groupId> |
366 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
367 | | - <version>${nexus-staging-maven-plugin.version}</version> |
| 355 | + <groupId>org.sonatype.central</groupId> |
| 356 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 357 | + <version>${central-publishing-maven-plugin.version}</version> |
368 | 358 | <extensions>true</extensions> |
369 | 359 | <configuration> |
370 | | - <serverId>ossrh</serverId> |
371 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
372 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 360 | + <publishingServerId>central</publishingServerId> |
| 361 | + <autoPublish>true</autoPublish> |
373 | 362 | </configuration> |
374 | 363 | </plugin> |
375 | 364 |
|
|
460 | 449 | </plugin> |
461 | 450 |
|
462 | 451 | <plugin> |
463 | | - <groupId>org.sonatype.plugins</groupId> |
464 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
| 452 | + <groupId>org.sonatype.central</groupId> |
| 453 | + <artifactId>central-publishing-maven-plugin</artifactId> |
465 | 454 | </plugin> |
466 | 455 | </plugins> |
467 | 456 |
|
|
0 commit comments