You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2013/09/05 18:32:31 UTC

svn commit: r1520367 - /uima/build/trunk/uima-build-helper-maven-plugin/pom.xml

Author: schor
Date: Thu Sep  5 16:32:31 2013
New Revision: 1520367

URL: http://svn.apache.org/r1520367
Log:
[UIMA-3251][UIMA-3247] sign and checksum the source-release.zip, revert to 7-SNAPSHOT for redoing release try.

Modified:
    uima/build/trunk/uima-build-helper-maven-plugin/pom.xml

Modified: uima/build/trunk/uima-build-helper-maven-plugin/pom.xml
URL: http://svn.apache.org/viewvc/uima/build/trunk/uima-build-helper-maven-plugin/pom.xml?rev=1520367&r1=1520366&r2=1520367&view=diff
==============================================================================
--- uima/build/trunk/uima-build-helper-maven-plugin/pom.xml (original)
+++ uima/build/trunk/uima-build-helper-maven-plugin/pom.xml Thu Sep  5 16:32:31 2013
@@ -28,7 +28,7 @@
   </parent>
   
   <artifactId>uima-build-helper-maven-plugin</artifactId>
-  <version>8-SNAPSHOT</version>
+  <version>7-SNAPSHOT</version>
   <packaging>maven-plugin</packaging>
 
   <inceptionYear>2010</inceptionYear>
@@ -166,6 +166,33 @@
               </execution>
             </executions>
           </plugin>
+          
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>sign and checksum source-release.zip</id>
+                <phase>verify</phase>  <!-- after source-release is built -->
+                <goals><goal>run</goal></goals>
+                <configuration>
+                  <target>
+                    <echo message="Generating checksums for source-release.zip" />
+                    <checksum format="MD5SUM" algorithm="sha1"
+                              file="${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip"/>
+                    <checksum format="MD5SUM" algorithm="md5"
+                              file="${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip"/>
+                    <echo message="Generating gpg signatures for source-release.zip" />
+                    <exec executable="gpg">
+                      <arg value="--detach-sign" />
+                      <arg value="--armor" />
+                      <arg value="--batch" />
+                      <arg value="${project.build.directory}/${project.artifactId}-${project.version}-source-release.zip" />
+                    </exec>
+                  </target>
+                </configuration>
+              </execution>
+            </executions>                          
+          </plugin>
         </plugins>
       </build>
     </profile>