|
40 | 40 | </developers>
|
41 | 41 |
|
42 | 42 | <scm>
|
43 |
| - <url>https://github.com/rabbitmq/rabbitmq-java-client.git</url> |
44 |
| - <connection>scm:git:https://github.com/rabbitmq/rabbitmq-java-client.git</connection> |
| 43 | + <url>https://github.com/rabbitmq/rabbitmq-java-client</url> |
| 44 | + <connection>scm:git:git://github.com/rabbitmq/rabbitmq-java-client.git</connection> |
| 45 | + <developerConnection>scm:git:git@github.com:rabbitmq/rabbitmq-java-client.git</developerConnection> |
45 | 46 | </scm>
|
46 | 47 |
|
47 | 48 | <organization>
|
|
90 | 91 | <test-broker.B.nodename>hare@localhost</test-broker.B.nodename>
|
91 | 92 | <test-broker.B.node_port>5673</test-broker.B.node_port>
|
92 | 93 | <test-broker.B.config_file>${project.build.directory}/test-classes/${test-broker.B.nodename}</test-broker.B.config_file>
|
| 94 | + |
| 95 | + <!-- to sign artifacts when releasing --> |
| 96 | + <gpg.keyname>6026DFCA</gpg.keyname> |
| 97 | + <nexus-staging-maven-plugin.version>1.6.4</nexus-staging-maven-plugin.version> |
93 | 98 | </properties>
|
94 | 99 |
|
95 | 100 | <profiles>
|
|
404 | 409 |
|
405 | 410 | <profile>
|
406 | 411 | <!--
|
407 |
| - The "release" Maven profile is used to push release artifacts to a |
| 412 | + The "ossrh-release" Maven profile is used to push release artifacts to a |
408 | 413 | Sonatype staging repository.
|
409 | 414 | -->
|
410 |
| - <id>release</id> |
| 415 | + <id>ossrh-release</id> |
| 416 | + <build> |
| 417 | + <plugins> |
| 418 | + <plugin> |
| 419 | + <groupId>org.apache.maven.plugins</groupId> |
| 420 | + <artifactId>maven-source-plugin</artifactId> |
| 421 | + <version>3.0.1</version> |
| 422 | + <executions> |
| 423 | + <execution> |
| 424 | + <goals> |
| 425 | + <goal>jar</goal> |
| 426 | + </goals> |
| 427 | + </execution> |
| 428 | + </executions> |
| 429 | + </plugin> |
| 430 | + <plugin> |
| 431 | + <groupId>org.apache.maven.plugins</groupId> |
| 432 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 433 | + <version>2.10.4</version> |
| 434 | + <configuration> |
| 435 | + <additionalparam>${javadoc.opts}</additionalparam> |
| 436 | + </configuration> |
| 437 | + <executions> |
| 438 | + <execution> |
| 439 | + <goals> |
| 440 | + <goal>jar</goal> |
| 441 | + </goals> |
| 442 | + </execution> |
| 443 | + </executions> |
| 444 | + </plugin> |
| 445 | + |
| 446 | + <plugin> |
| 447 | + <groupId>org.apache.maven.plugins</groupId> |
| 448 | + <artifactId>maven-gpg-plugin</artifactId> |
| 449 | + <version>1.6</version> |
| 450 | + <executions> |
| 451 | + <execution> |
| 452 | + <id>sign-artifacts</id> |
| 453 | + <phase>package</phase> |
| 454 | + <goals> |
| 455 | + <goal>sign</goal> |
| 456 | + </goals> |
| 457 | + <configuration> |
| 458 | + <keyname>${gpg.keyname}</keyname> |
| 459 | + </configuration> |
| 460 | + </execution> |
| 461 | + </executions> |
| 462 | + </plugin> |
| 463 | + </plugins> |
| 464 | + </build> |
| 465 | + <distributionManagement> |
| 466 | + <snapshotRepository> |
| 467 | + <id>ossrh</id> |
| 468 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 469 | + </snapshotRepository> |
| 470 | + <repository> |
| 471 | + <id>ossrh</id> |
| 472 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 473 | + </repository> |
| 474 | + </distributionManagement> |
| 475 | + </profile> |
| 476 | + |
| 477 | + <!-- |
| 478 | + The "bintray-release" Maven profile is used to push release artifacts to the |
| 479 | + Bintray Release Maven Repository. |
| 480 | + --> |
| 481 | + <profile> |
| 482 | + <id>bintray-release</id> |
| 483 | + <build> |
| 484 | + <plugins> |
| 485 | + <plugin> |
| 486 | + <groupId>org.apache.maven.plugins</groupId> |
| 487 | + <artifactId>maven-source-plugin</artifactId> |
| 488 | + <version>3.0.1</version> |
| 489 | + <executions> |
| 490 | + <execution> |
| 491 | + <goals> |
| 492 | + <goal>jar</goal> |
| 493 | + </goals> |
| 494 | + </execution> |
| 495 | + </executions> |
| 496 | + </plugin> |
| 497 | + <plugin> |
| 498 | + <groupId>org.apache.maven.plugins</groupId> |
| 499 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 500 | + <version>2.10.4</version> |
| 501 | + <configuration> |
| 502 | + <additionalparam>${javadoc.opts}</additionalparam> |
| 503 | + </configuration> |
| 504 | + <executions> |
| 505 | + <execution> |
| 506 | + <goals> |
| 507 | + <goal>jar</goal> |
| 508 | + </goals> |
| 509 | + </execution> |
| 510 | + </executions> |
| 511 | + </plugin> |
| 512 | + |
| 513 | + <plugin> |
| 514 | + <groupId>org.apache.maven.plugins</groupId> |
| 515 | + <artifactId>maven-gpg-plugin</artifactId> |
| 516 | + <version>1.6</version> |
| 517 | + <executions> |
| 518 | + <execution> |
| 519 | + <id>sign-artifacts</id> |
| 520 | + <phase>package</phase> |
| 521 | + <goals> |
| 522 | + <goal>sign</goal> |
| 523 | + </goals> |
| 524 | + <configuration> |
| 525 | + <keyname>${gpg.keyname}</keyname> |
| 526 | + </configuration> |
| 527 | + </execution> |
| 528 | + </executions> |
| 529 | + </plugin> |
| 530 | + </plugins> |
| 531 | + </build> |
| 532 | + <distributionManagement> |
| 533 | + <repository> |
| 534 | + <id>bintray-rabbitmq-maven</id> |
| 535 | + <name>rabbitmq-maven</name> |
| 536 | + <url>https://api.bintray.com/maven/rabbitmq/maven/java-client/;publish=1</url> |
| 537 | + </repository> |
| 538 | + </distributionManagement> |
| 539 | + </profile> |
| 540 | + |
| 541 | + <!-- |
| 542 | + The "milestone" Maven profile is used to push release artifacts to the |
| 543 | + Bintray Milestones Maven Repository. |
| 544 | + --> |
| 545 | + <profile> |
| 546 | + <id>milestone</id> |
411 | 547 | <build>
|
412 | 548 | <plugins>
|
413 | 549 | <plugin>
|
|
445 | 581 | <executions>
|
446 | 582 | <execution>
|
447 | 583 | <id>sign-artifacts</id>
|
448 |
| - <phase>verify</phase> |
| 584 | + <phase>package</phase> |
449 | 585 | <goals>
|
450 | 586 | <goal>sign</goal>
|
451 | 587 | </goals>
|
| 588 | + <configuration> |
| 589 | + <keyname>${gpg.keyname}</keyname> |
| 590 | + </configuration> |
452 | 591 | </execution>
|
453 | 592 | </executions>
|
454 | 593 | </plugin>
|
455 | 594 | </plugins>
|
456 | 595 | </build>
|
| 596 | + <distributionManagement> |
| 597 | + <repository> |
| 598 | + <id>bintray-rabbitmq-maven-milestones</id> |
| 599 | + <name>rabbitmq-maven-milestones</name> |
| 600 | + <url>https://api.bintray.com/maven/rabbitmq/maven-milestones/java-client/;publish=1</url> |
| 601 | + </repository> |
| 602 | + </distributionManagement> |
457 | 603 | </profile>
|
| 604 | + |
458 | 605 | </profiles>
|
459 | 606 |
|
460 | 607 | <dependencies>
|
|
0 commit comments