adding options to ensure that the product .zip files are not signed
authorCherian Mathew <c.mathew@bgbm.org>
Mon, 15 Sep 2014 14:11:25 +0000 (14:11 +0000)
committerCherian Mathew <c.mathew@bgbm.org>
Mon, 15 Sep 2014 14:11:25 +0000 (14:11 +0000)
eu.etaxonomy.taxeditor/pom.xml

index a40f8c6cffc202fe1ac05bf8320f2cf1fcd3d7a3..18f4117a3923e3a7399badf0a550f5629476128a 100644 (file)
             <artifactId>maven-jarsigner-plugin</artifactId>
             <version>1.3.2</version>
             <configuration>
             <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>
               <keystore>${keystore.path}</keystore>
               <storepass>${keystore.store.password}</storepass>
-              <alias>editor</alias>
               <keypass>${keystore.key.password}</keypass>
               <keypass>${keystore.key.password}</keypass>
-              <removeExistingSignatures>true</removeExistingSignatures>
+
               <archiveDirectory>${project.build.directory}/repository</archiveDirectory>
               <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>
               <includes>
-                <include>**/eu.etaxonomy.taxeditor*.jar</include>
+                <include>plugins/eu.etaxonomy.taxeditor*.jar</include>
+                <include>features/eu.etaxonomy.taxeditor*.jar</include>
               </includes>
               </includes>
-              <excludes>
-                <exclude>**/*.zip</exclude>
-              </excludes>
               <arguments>
                 <!-- Due to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=378155 
               <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>
               </arguments>
             </configuration>
             <executions>