|
81 | 81 | <maven.jar.plugin.version>3.0.2</maven.jar.plugin.version>
|
82 | 82 | <maven.bundle.plugin.version>3.2.0</maven.bundle.plugin.version>
|
83 | 83 | <maven.packagecloud.wagon.version>0.0.6</maven.packagecloud.wagon.version>
|
| 84 | + <nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version> |
84 | 85 | <checksum.maven.plugin.version>1.8</checksum.maven.plugin.version>
|
85 | 86 | <jshell-maven-plugin.version>1.3</jshell-maven-plugin.version>
|
86 | 87 |
|
|
494 | 495 | <profile>
|
495 | 496 | <!--
|
496 | 497 | The "ossrh-release" Maven profile is used to push release artifacts to a
|
497 |
| - Sonatype staging repository. |
| 498 | + Sonatype snapshots repository. |
498 | 499 | -->
|
499 |
| - <id>ossrh-release</id> |
| 500 | + <id>snapshots</id> |
500 | 501 | <build>
|
501 | 502 | <plugins>
|
502 | 503 | <plugin>
|
|
546 | 547 | </profile>
|
547 | 548 |
|
548 | 549 | <!--
|
549 |
| - The "bintray-release" Maven profile is used to push release artifacts to the |
550 |
| - Bintray Release Maven Repository. |
| 550 | + The "release" Maven profile is used to push release artifacts to OSSRH |
551 | 551 | -->
|
552 | 552 | <profile>
|
553 |
| - <id>bintray-release</id> |
| 553 | + <id>release</id> |
554 | 554 | <build>
|
555 | 555 | <plugins>
|
| 556 | + |
| 557 | + <plugin> |
| 558 | + <groupId>org.sonatype.plugins</groupId> |
| 559 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 560 | + <version>${nexus-staging-maven-plugin.version}</version> |
| 561 | + <extensions>true</extensions> |
| 562 | + <configuration> |
| 563 | + <serverId>ossrh</serverId> |
| 564 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 565 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 566 | + </configuration> |
| 567 | + </plugin> |
| 568 | + |
556 | 569 | <plugin>
|
557 | 570 | <groupId>org.apache.maven.plugins</groupId>
|
558 | 571 | <artifactId>maven-javadoc-plugin</artifactId>
|
|
593 | 606 | </build>
|
594 | 607 | <distributionManagement>
|
595 | 608 | <repository>
|
596 |
| - <id>bintray-rabbitmq-maven</id> |
597 |
| - <name>rabbitmq-maven</name> |
598 |
| - <url>https://api.bintray.com/maven/rabbitmq/maven/com.rabbitmq:amqp-client/;publish=1</url> |
| 609 | + <id>ossrh</id> |
| 610 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
599 | 611 | </repository>
|
600 | 612 | </distributionManagement>
|
601 | 613 | </profile>
|
|
0 commit comments