|
252 | 252 | </argLine> |
253 | 253 | </configuration> |
254 | 254 | </plugin> |
255 | | - <!-- End publish to maven central --> |
256 | 255 | </plugins> |
257 | 256 | </build> |
258 | 257 | <profiles> |
|
281 | 280 | </executions> |
282 | 281 | <configuration> |
283 | 282 | <skip>${maven.deploy.skip}</skip> |
284 | | - <repository>https://s01.oss.sonatype.org/service/local/repositories/releases/content</repository> |
285 | | - <snapshotRepository>https://s01.oss.sonatype.org/content/repositories/snapshots</snapshotRepository> |
286 | | - <snapshotServerId>ossrh</snapshotServerId> |
| 283 | + <repository>https://repo1.maven.org/maven2</repository> |
| 284 | + <snapshotRepository>https://central.sonatype.com/repository/maven-snapshots</snapshotRepository> |
| 285 | + <snapshotServerId>central</snapshotServerId> |
287 | 286 | </configuration> |
288 | 287 | </plugin> |
289 | 288 |
|
|
376 | 375 |
|
377 | 376 | <!-- Begin publish to maven central --> |
378 | 377 | <plugin> |
379 | | - <groupId>org.sonatype.plugins</groupId> |
380 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
381 | | - <version>1.7.0</version> |
| 378 | + <groupId>org.sonatype.central</groupId> |
| 379 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 380 | + <version>0.8.0</version> |
382 | 381 | <extensions>true</extensions> |
383 | 382 | <configuration> |
384 | | - <serverId>ossrh</serverId> |
385 | | - <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
386 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
387 | | - <skipNexusStagingDeployMojo>${maven.deploy.skip}</skipNexusStagingDeployMojo> |
| 383 | + <publishingServerId>central</publishingServerId> |
| 384 | + <autoPublish>true</autoPublish> |
| 385 | + <skipPublishing>${maven.deploy.skip}</skipPublishing> |
388 | 386 | </configuration> |
389 | 387 | </plugin> |
| 388 | + <!-- End publish to maven central --> |
390 | 389 | </plugins> |
391 | 390 | </build> |
392 | 391 | </profile> |
|
592 | 591 |
|
593 | 592 | <distributionManagement> |
594 | 593 | <snapshotRepository> |
595 | | - <id>ossrh</id> |
596 | | - <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 594 | + <id>central</id> |
| 595 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
597 | 596 | </snapshotRepository> |
598 | 597 | <repository> |
599 | | - <id>ossrh</id> |
600 | | - <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 598 | + <id>central</id> |
| 599 | + <url>https://repo1.maven.org/maven2/</url> |
601 | 600 | </repository> |
602 | 601 | </distributionManagement> |
603 | 602 | </project> |
0 commit comments