<artifactId>maven-jarsigner-plugin</artifactId>
<version>1.3.2</version>
<configuration>
+ <alias>editor</alias>
+ <removeExistingSignatures>true</removeExistingSignatures>
+ <!-- keystore properties should be set in the ~/.m2/settings.xml -->
<keystore>${keystore.path}</keystore>
<storepass>${keystore.store.password}</storepass>
- <alias>editor</alias>
<keypass>${keystore.key.password}</keypass>
- <removeExistingSignatures>true</removeExistingSignatures>
+
<archiveDirectory>${project.build.directory}/repository</archiveDirectory>
+ <!-- Following two settings are to ensure that the product
+ .zip files are not signed -->
+ <processMainArtifact>false</processMainArtifact>
+ <processAttachedArtifacts>false</processAttachedArtifacts>
<includes>
- <include>**/eu.etaxonomy.taxeditor*.jar</include>
+ <include>plugins/eu.etaxonomy.taxeditor*.jar</include>
+ <include>features/eu.etaxonomy.taxeditor*.jar</include>
</includes>
- <excludes>
- <exclude>**/*.zip</exclude>
- </excludes>
<arguments>
<!-- Due to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=378155
- we need to force the signature / digest algorithm to SHA1 since
- this is the only one which plays well with Eclipse 3.x -->
- <argument>-sigalg</argument><argument>SHA1withDSA</argument>
- <argument>-digestalg</argument><argument>SHA1</argument>
+ we need to force the signature / digest algorithm to SHA1 since this is the
+ only one which plays well with Eclipse 3.x -->
+ <argument>-sigalg</argument>
+ <argument>SHA1withDSA</argument>
+ <argument>-digestalg</argument>
+ <argument>SHA1</argument>
</arguments>
</configuration>
<executions>