|
89 | 89 | <maven-release-plugin.version>3.1.1</maven-release-plugin.version> |
90 | 90 | <maven-source-plugin.version>3.3.1</maven-source-plugin.version> |
91 | 91 | <maven-surefire-plugin.version>3.5.3</maven-surefire-plugin.version> |
92 | | - <nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version> |
| 92 | + <central-publishing-maven-plugin.version>0.10.0</central-publishing-maven-plugin.version> |
93 | 93 | </properties> |
94 | 94 |
|
95 | 95 | <name>Zipkin Reporter (Parent)</name> |
|
128 | 128 |
|
129 | 129 | <distributionManagement> |
130 | 130 | <snapshotRepository> |
131 | | - <id>ossrh</id> |
132 | | - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 131 | + <id>central</id> |
| 132 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
133 | 133 | </snapshotRepository> |
134 | | - <repository> |
135 | | - <id>ossrh</id> |
136 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
137 | | - </repository> |
138 | 134 | </distributionManagement> |
139 | 135 |
|
140 | 136 | <issueManagement> |
|
291 | 287 | </plugin> |
292 | 288 |
|
293 | 289 | <plugin> |
294 | | - <groupId>org.sonatype.plugins</groupId> |
295 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
296 | | - <version>${nexus-staging-maven-plugin.version}</version> |
| 290 | + <groupId>org.sonatype.central</groupId> |
| 291 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 292 | + <version>${central-publishing-maven-plugin.version}</version> |
297 | 293 | </plugin> |
298 | 294 |
|
299 | 295 | <plugin> |
|
578 | 574 | <build> |
579 | 575 | <plugins> |
580 | 576 | <plugin> |
581 | | - <groupId>org.sonatype.plugins</groupId> |
582 | | - <artifactId>nexus-staging-maven-plugin</artifactId> |
| 577 | + <groupId>org.sonatype.central</groupId> |
| 578 | + <artifactId>central-publishing-maven-plugin</artifactId> |
583 | 579 | <extensions>true</extensions> |
584 | 580 | <configuration> |
585 | | - <serverId>ossrh</serverId> |
586 | | - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
587 | | - <!-- Increase timeouts due to recent load related failures described in OSSRH-76308: |
588 | | -
|
589 | | - A message body reader for Java class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, |
590 | | - and Java type class com.sonatype.nexus.staging.api.dto.StagingProfileRepositoryDTO, |
591 | | - and MIME media type text/html was not found -> [Help 1] |
592 | | - --> |
593 | | - <stagingProgressPauseDurationSeconds>20</stagingProgressPauseDurationSeconds> |
594 | | - <stagingProgressTimeoutMinutes>30</stagingProgressTimeoutMinutes> |
595 | | - <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 581 | + <publishingServerId>central</publishingServerId> |
| 582 | + <autoPublish>true</autoPublish> |
596 | 583 | </configuration> |
597 | 584 | </plugin> |
598 | 585 |
|
|
0 commit comments