|
55 | 55 | <java.version>1.7</java.version> |
56 | 56 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
57 | 57 | <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
58 | | - |
59 | 58 | <project.root>.</project.root> |
60 | 59 | <rules.pmd>${project.root}/development/pmd_rules.xml</rules.pmd> |
61 | 60 | <rules.checkstyle>${project.root}/development/checkstyle_rules.xml</rules.checkstyle> |
|
101 | 100 | <version.findbugs.maven.plugin>3.0.0</version.findbugs.maven.plugin> |
102 | 101 | <version.cobertura.maven.plugin>2.6</version.cobertura.maven.plugin> |
103 | 102 | <version.license.maven.plugin>1.8</version.license.maven.plugin> |
| 103 | + <version.maven.gpg.plugin>1.5</version.maven.gpg.plugin> |
| 104 | + <version.maven.nexus.staging.plugin>1.6.3</version.maven.nexus.staging.plugin> |
104 | 105 |
|
105 | 106 | </properties> |
106 | 107 |
|
|
274 | 275 | <groupId>org.apache.maven.plugins</groupId> |
275 | 276 | <artifactId>maven-failsafe-plugin</artifactId> |
276 | 277 | </plugin> |
277 | | - |
278 | 278 | </plugins> |
279 | 279 | <pluginManagement> |
280 | 280 | <plugins> |
|
524 | 524 | </executions> |
525 | 525 | </plugin> |
526 | 526 |
|
| 527 | + <!-- signing jars plugin --> |
| 528 | + <plugin> |
| 529 | + <groupId>org.apache.maven.plugins</groupId> |
| 530 | + <artifactId>maven-gpg-plugin</artifactId> |
| 531 | + <version>${version.maven.gpg.plugin}</version> |
| 532 | + <executions> |
| 533 | + <execution> |
| 534 | + <id>sign-artifacts</id> |
| 535 | + <phase>verify</phase> |
| 536 | + <goals> |
| 537 | + <goal>sign</goal> |
| 538 | + </goals> |
| 539 | + </execution> |
| 540 | + </executions> |
| 541 | + </plugin> |
| 542 | + <!-- maven central release plugin --> |
| 543 | + <plugin> |
| 544 | + <groupId>org.sonatype.plugins</groupId> |
| 545 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 546 | + <version>${version.maven.nexus.staging.plugin}</version> |
| 547 | + <extensions>true</extensions> |
| 548 | + <configuration> |
| 549 | + <serverId>ossrh</serverId> |
| 550 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 551 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 552 | + </configuration> |
| 553 | + </plugin> |
527 | 554 | <!-- other plugins --> |
528 | 555 |
|
529 | 556 | <plugin> |
|
652 | 679 | </plugins> |
653 | 680 | </build> |
654 | 681 | </profile> |
655 | | - |
| 682 | + |
| 683 | + <profile> |
| 684 | + <id>maven-central</id> |
| 685 | + <build> |
| 686 | + <plugins> |
| 687 | + <plugin> |
| 688 | + <groupId>org.apache.maven.plugins</groupId> |
| 689 | + <artifactId>maven-gpg-plugin</artifactId> |
| 690 | + </plugin> |
| 691 | + <plugin> |
| 692 | + <groupId>org.sonatype.plugins</groupId> |
| 693 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 694 | + </plugin> |
| 695 | + </plugins> |
| 696 | + </build> |
| 697 | + </profile> |
| 698 | + |
| 699 | + |
656 | 700 | <profile> |
657 | 701 | <id>skip-tests</id> |
658 | 702 | <properties> |
|
685 | 729 | <role>developer</role> |
686 | 730 | </roles> |
687 | 731 | </developer> |
| 732 | + <developer> |
| 733 | + <id>benhamidene</id> |
| 734 | + <name>Anis Ben Hamidene</name> |
| 735 | + <email>anis.benhamidene@novatec-gmbh.de</email> |
| 736 | + <organization>NovaTec Consulting GmbH</organization> |
| 737 | + <organizationUrl>http://www.novatec-gmbh.de</organizationUrl> |
| 738 | + <roles> |
| 739 | + <role>developer</role> |
| 740 | + </roles> |
| 741 | + </developer> |
688 | 742 | </developers> |
689 | 743 |
|
690 | 744 | </project> |
0 commit comments