|
27 | 27 |
|
28 | 28 | <distributionManagement> |
29 | 29 | <snapshotRepository> |
30 | | - <id>ossrh</id> |
31 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 30 | + <id>central</id> |
| 31 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
32 | 32 | </snapshotRepository> |
33 | | - <repository> |
34 | | - <id>ossrh</id> |
35 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
36 | | - </repository> |
37 | 33 | </distributionManagement> |
38 | 34 |
|
39 | 35 | <issueManagement> |
|
130 | 126 | <maven-shade-plugin.version>3.6.0</maven-shade-plugin.version> |
131 | 127 | <maven-source-plugin.version>3.3.1</maven-source-plugin.version> |
132 | 128 | <maven-surefire-plugin.version>3.5.2</maven-surefire-plugin.version> |
133 | | - <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version> |
| 129 | + <central-publishing-maven-plugin.version>0.10.0</central-publishing-maven-plugin.version> |
134 | 130 | </properties> |
135 | 131 |
|
136 | 132 | <name>Zipkin Google Cloud Platform (Parent)</name> |
|
289 | 285 | </plugin> |
290 | 286 |
|
291 | 287 | <plugin> |
292 | | - <groupId>org.sonatype.plugins</groupId> |
293 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
294 | | - <version>${nexus-staging-maven-plugin.version}</version> |
| 288 | + <groupId>org.sonatype.central</groupId> |
| 289 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 290 | + <version>${central-publishing-maven-plugin.version}</version> |
295 | 291 | </plugin> |
296 | 292 | </plugins> |
297 | 293 | </pluginManagement> |
|
554 | 550 | <build> |
555 | 551 | <plugins> |
556 | 552 | <plugin> |
557 | | - <groupId>org.sonatype.plugins</groupId> |
558 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
| 553 | + <groupId>org.sonatype.central</groupId> |
| 554 | + <artifactId>central-publishing-maven-plugin</artifactId> |
559 | 555 | <extensions>true</extensions> |
560 | 556 | <configuration> |
561 | | - <serverId>ossrh</serverId> |
562 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
563 | | - <!-- Zipkin release is about ~100M mostly from the two server distributions. Default |
564 | | - will timeout after 5 minutes, which can trigger fairly easily with this size. --> |
565 | | - <stagingProgressPauseDurationSeconds>20</stagingProgressPauseDurationSeconds> |
566 | | - <stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes> |
567 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 557 | + <publishingServerId>central</publishingServerId> |
| 558 | + <autoPublish>true</autoPublish> |
| 559 | + <waitUntil>published</waitUntil> |
568 | 560 | </configuration> |
569 | 561 | </plugin> |
570 | 562 |
|
|
0 commit comments