|
134 | 134 | <maven-shade-plugin.version>3.5.3</maven-shade-plugin.version> |
135 | 135 | <maven-source-plugin.version>3.3.1</maven-source-plugin.version> |
136 | 136 | <maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version> |
137 | | - <nexus-staging-maven-plugin.version>1.6.13</nexus-staging-maven-plugin.version> |
| 137 | + <central-publishing-maven-plugin.version>0.10.0</central-publishing-maven-plugin.version> |
138 | 138 | </properties> |
139 | 139 |
|
140 | 140 | <name>Zipkin Dependencies (Parent)</name> |
|
173 | 173 |
|
174 | 174 | <distributionManagement> |
175 | 175 | <snapshotRepository> |
176 | | - <id>ossrh</id> |
177 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 176 | + <id>central</id> |
| 177 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
178 | 178 | </snapshotRepository> |
179 | | - <repository> |
180 | | - <id>ossrh</id> |
181 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
182 | | - </repository> |
183 | 179 | </distributionManagement> |
184 | 180 |
|
185 | 181 | <issueManagement> |
|
381 | 377 | </plugin> |
382 | 378 |
|
383 | 379 | <plugin> |
384 | | - <groupId>org.sonatype.plugins</groupId> |
385 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
386 | | - <version>${nexus-staging-maven-plugin.version}</version> |
| 380 | + <groupId>org.sonatype.central</groupId> |
| 381 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 382 | + <version>${central-publishing-maven-plugin.version}</version> |
387 | 383 | </plugin> |
388 | 384 | </plugins> |
389 | 385 | </pluginManagement> |
|
614 | 610 | <build> |
615 | 611 | <plugins> |
616 | 612 | <plugin> |
617 | | - <groupId>org.sonatype.plugins</groupId> |
618 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
| 613 | + <groupId>org.sonatype.central</groupId> |
| 614 | + <artifactId>central-publishing-maven-plugin</artifactId> |
619 | 615 | <extensions>true</extensions> |
620 | 616 | <configuration> |
621 | | - <serverId>ossrh</serverId> |
622 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
623 | | - <!-- Double the normal timeout even though we haven't had a problem in this project. |
624 | | - The only outcome of timing out client side is trying again. --> |
625 | | - <stagingProgressTimeoutMinutes>10</stagingProgressTimeoutMinutes> |
626 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 617 | + <publishingServerId>central</publishingServerId> |
| 618 | + <autoPublish>true</autoPublish> |
627 | 619 | </configuration> |
628 | 620 | </plugin> |
629 | 621 |
|
|
0 commit comments