|
83 | 83 | <maven.surefire.plugin.version>2.22.2</maven.surefire.plugin.version> |
84 | 84 | <maven.failsafe.plugin.version>2.22.2</maven.failsafe.plugin.version> |
85 | 85 | <maven.packagecloud.wagon.version>0.0.6</maven.packagecloud.wagon.version> |
| 86 | + <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version> |
86 | 87 | <checksum.maven.plugin.version>1.8</checksum.maven.plugin.version> |
87 | 88 |
|
88 | 89 | <!-- because of https://issues.apache.org/jira/browse/MRESOURCES-99 --> |
|
454 | 455 | </profile> |
455 | 456 |
|
456 | 457 | <!-- |
457 | | - The "bintray-release" Maven profile is used to push release artifacts to the |
458 | | - Bintray Release Maven Repository. |
| 458 | + The "release" Maven profile is used to push release artifacts to OSSRH. |
459 | 459 | --> |
460 | 460 | <profile> |
461 | | - <id>bintray-release</id> |
| 461 | + <id>release</id> |
462 | 462 | <build> |
463 | 463 | <plugins> |
| 464 | + |
| 465 | + <plugin> |
| 466 | + <groupId>org.sonatype.plugins</groupId> |
| 467 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 468 | + <version>${nexus-staging-maven-plugin.version}</version> |
| 469 | + <extensions>true</extensions> |
| 470 | + <configuration> |
| 471 | + <serverId>ossrh</serverId> |
| 472 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 473 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 474 | + <stagingProgressTimeoutMinutes>10</stagingProgressTimeoutMinutes> |
| 475 | + </configuration> |
| 476 | + </plugin> |
| 477 | + |
464 | 478 | <plugin> |
465 | 479 | <groupId>org.apache.maven.plugins</groupId> |
466 | 480 | <artifactId>maven-javadoc-plugin</artifactId> |
|
501 | 515 | </build> |
502 | 516 | <distributionManagement> |
503 | 517 | <repository> |
504 | | - <id>bintray-rabbitmq-maven</id> |
505 | | - <name>rabbitmq-maven</name> |
506 | | - <url>https://api.bintray.com/maven/rabbitmq/maven/com.rabbitmq:perf-test/;publish=1</url> |
| 518 | + <id>ossrh</id> |
| 519 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
507 | 520 | </repository> |
508 | 521 | </distributionManagement> |
509 | 522 | </profile> |
|
822 | 835 | </profile> |
823 | 836 |
|
824 | 837 | <profile> |
825 | | - <id>ossrh-release</id> |
| 838 | + <id>snapshots</id> |
826 | 839 | <build> |
827 | 840 | <plugins> |
828 | 841 | <plugin> |
|
0 commit comments