|
759 | 759 | </pluginManagement> |
760 | 760 |
|
761 | 761 | <plugins> |
| 762 | + <plugin> |
| 763 | + <groupId>org.codehaus.mojo</groupId> |
| 764 | + <artifactId>keytool-maven-plugin</artifactId> |
| 765 | + <executions> |
| 766 | + <execution> |
| 767 | + <goals> |
| 768 | + <goal>generateKeyPair</goal> |
| 769 | + </goals> |
| 770 | + <phase>generate-resources</phase> |
| 771 | + </execution> |
| 772 | + </executions> |
| 773 | + <configuration> |
| 774 | + <skipIfExist>true</skipIfExist> |
| 775 | + <keystore>${keystore.file}</keystore> |
| 776 | + <storepass>${keystore.pass}</storepass> |
| 777 | + <keypass>${keystore.pass}</keypass> |
| 778 | + <alias>${project.artifactId}</alias> |
| 779 | + <dname>CN=funfried.de, OU=${project.artifactId}, O=funfried.de, L=Schwaebisch Hall, ST=Baden-Wuerttemberg, C=DE</dname> |
| 780 | + <validity>730</validity> |
| 781 | + <keysize>2048</keysize> |
| 782 | + <sigalg>SHA512withRSA</sigalg> |
| 783 | + <keyalg>RSA</keyalg> |
| 784 | + </configuration> |
| 785 | + </plugin> |
762 | 786 | <plugin> |
763 | 787 | <groupId>org.apache.netbeans.utilities</groupId> |
764 | 788 | <artifactId>nbm-maven-plugin</artifactId> |
|
1098 | 1122 | <id>release-commons</id> |
1099 | 1123 | <build> |
1100 | 1124 | <plugins> |
1101 | | - <plugin> |
1102 | | - <groupId>org.codehaus.mojo</groupId> |
1103 | | - <artifactId>keytool-maven-plugin</artifactId> |
1104 | | - <executions> |
1105 | | - <execution> |
1106 | | - <goals> |
1107 | | - <goal>generateKeyPair</goal> |
1108 | | - </goals> |
1109 | | - <phase>initialize</phase> |
1110 | | - </execution> |
1111 | | - </executions> |
1112 | | - <configuration> |
1113 | | - <keystore>${keystore.file}</keystore> |
1114 | | - <storepass>${keystore.pass}</storepass> |
1115 | | - <keypass>${keystore.pass}</keypass> |
1116 | | - <alias>${project.artifactId}</alias> |
1117 | | - <dname>CN=funfried.de, OU=${project.artifactId}, O=funfried.de, L=Schwaebisch Hall, ST=Baden-Wuerttemberg, C=DE</dname> |
1118 | | - <validity>730</validity> |
1119 | | - <keysize>2048</keysize> |
1120 | | - <sigalg>SHA512withRSA</sigalg> |
1121 | | - <keyalg>RSA</keyalg> |
1122 | | - </configuration> |
1123 | | - </plugin> |
1124 | 1125 | <plugin> |
1125 | 1126 | <groupId>org.apache.maven.plugins</groupId> |
1126 | 1127 | <artifactId>maven-gpg-plugin</artifactId> |
|
0 commit comments