|
183 | 183 | </plugin>
|
184 | 184 | <plugin>
|
185 | 185 | <groupId>org.sonatype.plugins</groupId>
|
186 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
| 186 | + <artifactId>central-publishing-maven-plugin</artifactId> |
187 | 187 | <extensions>true</extensions>
|
188 | 188 | <configuration>
|
189 |
| - <serverId>ossrh</serverId> |
190 |
| - <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
191 |
| - <autoReleaseAfterClose>false</autoReleaseAfterClose> |
192 |
| - <keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure> |
193 |
| - <stagingProgressTimeoutMinutes>10</stagingProgressTimeoutMinutes> |
| 189 | + <publishingServerId>central</publishingServerId> |
194 | 190 | </configuration>
|
195 | 191 | </plugin>
|
196 | 192 | </plugins>
|
|
398 | 394 | </plugin>
|
399 | 395 | <plugin>
|
400 | 396 | <groupId>org.sonatype.plugins</groupId>
|
401 |
| - <artifactId>nexus-staging-maven-plugin</artifactId> |
402 |
| - <version>1.6.7</version> |
| 397 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 398 | + <version>0.7.0</version> |
403 | 399 | </plugin>
|
404 | 400 | </plugins>
|
405 | 401 | </pluginManagement>
|
|
461 | 457 | <url>https://vivo-project.github.io/</url>
|
462 | 458 | </site>
|
463 | 459 | <snapshotRepository>
|
464 |
| - <id>ossrh</id> |
465 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 460 | + <id>central</id> |
| 461 | + <name>Sonatype Central Snapshots</name> |
| 462 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
| 463 | + <releases> |
| 464 | + <enabled>false</enabled> |
| 465 | + </releases> |
| 466 | + <snapshots> |
| 467 | + <enabled>true</enabled> |
| 468 | + </snapshots> |
466 | 469 | </snapshotRepository>
|
467 |
| - <repository> |
468 |
| - <id>ossrh</id> |
469 |
| - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
470 |
| - </repository> |
471 | 470 | </distributionManagement>
|
472 | 471 |
|
473 | 472 | <repositories>
|
474 | 473 | <repository>
|
475 |
| - <id>sonatype-nexus-snapshots</id> |
476 |
| - <name>Sonatype Nexus Snapshots</name> |
477 |
| - <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 474 | + <id>central</id> |
| 475 | + <name>Sonatype Central Snapshots</name> |
| 476 | + <url>https://central.sonatype.com/repository/maven-snapshots/</url> |
478 | 477 | <releases>
|
479 | 478 | <enabled>false</enabled>
|
480 | 479 | </releases>
|
|
483 | 482 | </snapshots>
|
484 | 483 | </repository>
|
485 | 484 |
|
| 485 | + <repository> |
| 486 | + <id>central-maven</id> |
| 487 | + <url>https://repo.maven.apache.org/maven2</url> |
| 488 | + </repository> |
| 489 | + |
486 | 490 | <repository>
|
487 | 491 | <snapshots>
|
488 | 492 | <enabled>false</enabled>
|
|
0 commit comments