|
32 | 32 | <rx-version>2.2.21</rx-version>
|
33 | 33 | <mockito-version>5.18.0</mockito-version>
|
34 | 34 | <maven-deploy-plugin-version>3.1.1</maven-deploy-plugin-version>
|
35 |
| - <nexus-staging-plugin-version>1.6.13</nexus-staging-plugin-version> |
| 35 | + <central-publish-plugin-version>0.8.0</central-publish-plugin-version> |
36 | 36 | <maven-gpg-plugin-version>3.1.0</maven-gpg-plugin-version>
|
37 | 37 |
|
38 | 38 | <maven-enforcer-version>3.4.1</maven-enforcer-version>
|
|
356 | 356 | <!-- We don't deploy snapshot releases -->
|
357 | 357 | </snapshotRepository>
|
358 | 358 | <repository>
|
359 |
| - <!-- This is where the nexus staging plugin will publish |
360 |
| - artifacts --> |
361 |
| - <id>ossrh</id> |
362 |
| - <url> |
363 |
| - https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 359 | + <id>central</id> |
| 360 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
364 | 361 | </repository>
|
365 | 362 | </distributionManagement>
|
366 | 363 |
|
367 | 364 | <build>
|
368 | 365 | <plugins>
|
369 | 366 | <plugin>
|
370 |
| - <groupId>org.sonatype.plugins</groupId> |
371 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
372 |
| - <version>${nexus-staging-plugin-version}</version> |
| 367 | + <groupId>org.sonatype.central</groupId> |
| 368 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 369 | + <version>${central-publish-plugin-version}</version> |
373 | 370 | <extensions>true</extensions>
|
374 | 371 | <configuration>
|
375 |
| - <serverId>ossrh</serverId> |
376 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
377 |
| - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
378 |
| - <keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure> |
| 372 | + <publishingServerId>central</publishingServerId> |
| 373 | + <autoPublish>true</autoPublish> |
379 | 374 | </configuration>
|
380 | 375 | </plugin>
|
381 | 376 | <plugin>
|
|
0 commit comments