openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p..@apache.org
Subject svn commit: r656496 - /openjpa/branches/1.1.0/openjpa-project/pom.xml
Date Thu, 15 May 2008 03:16:16 GMT
Author: pcl
Date: Wed May 14 20:16:16 2008
New Revision: 656496

URL: http://svn.apache.org/viewvc?rev=656496&view=rev
Log:
adding the old signing stuff back in to try to get things working with our file locations

Modified:
    openjpa/branches/1.1.0/openjpa-project/pom.xml

Modified: openjpa/branches/1.1.0/openjpa-project/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/branches/1.1.0/openjpa-project/pom.xml?rev=656496&r1=656495&r2=656496&view=diff
==============================================================================
--- openjpa/branches/1.1.0/openjpa-project/pom.xml (original)
+++ openjpa/branches/1.1.0/openjpa-project/pom.xml Wed May 14 20:16:16 2008
@@ -315,6 +315,40 @@
             <id>sign-release</id>
             <build>
                 <plugins>
+                        <artifactId>maven-antrun-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>verify</phase>
+                                <configuration>
+                                    <tasks>
+                                    <echo>Signing release files...</echo>
+                                    <macrodef name="sign-file">
+                                        <attribute name="file" />
+                                        <sequential>
+                                        <delete failonerror="false"
+                                            file="@{file}.asc"/>
+                                        <exec executable="gpg"
+                                            failonerror="true">
+                                            <arg value="--batch"/>
+                                            <arg value="--verbose"/>
+                                            <arg value="--default-key"/>
+                                            <arg value="${openjpa.release.keyAlias}"/>
+                                            <arg value="--armor"/>
+                                            <arg value="--detach-sig"/>
+                                            <arg value="@{file}"/>
+                                        </exec>
+                                        </sequential>
+                                    </macrodef>
+                                    <sign-file file="${openjpa.assembly.binaryFile}"/>
+                                    <sign-file file="${openjpa.assembly.sourceFile}"/>
+                                    </tasks>
+                                </configuration>
+                                <goals>
+                                    <goal>run</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
                     <plugin>
                         <groupId>org.codehaus.mojo</groupId>
                         <artifactId>build-helper-maven-plugin</artifactId>



Mime
View raw message