Author: fhanik
Date: Tue May 22 11:40:23 2007
New Revision: 540692

URL: http://svn.apache.org/viewvc?view=rev&rev=540692
Log:
Added in dbcp and cleanup for signatures, as signing fails when the file 
already exists

Modified:
    tomcat/trunk/res/maven/mvn-pub.xml

Modified: tomcat/trunk/res/maven/mvn-pub.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/maven/mvn-pub.xml?view=diff&rev=540692&r1=540691&r2=540692
==============================================================================
--- tomcat/trunk/res/maven/mvn-pub.xml (original)
+++ tomcat/trunk/res/maven/mvn-pub.xml Tue May 22 11:40:23 2007
@@ -47,6 +47,10 @@
   </target>
 
   <target name="maven-deploy" depends="init-maven">
+    <!--cleanup-->
+    <delete file="${pom}.tmp"/>
+    <delete file="${file}.asc"/>
+
     <!--replace the version in the pom-->
     <copy file="${pom}" tofile="${pom}.tmp">
       <filterset>
@@ -54,6 +58,7 @@
       </filterset>
     </copy>
     
+    <!--sign the jar-->
     <exec executable="${maven.gpg.exec}" failonerror="true" 
inputstring="${maven.gpg.passphrase}">
       <arg value="--passphrase-fd"/>
       <arg value="0"/>
@@ -61,7 +66,8 @@
       <arg value="-b"/>
       <arg value="${file}"/>
     </exec>
-
+    
+    <!--deploy it-->
     <artifact:deploy file="${file}">
         <pom file="${pom}.tmp"/>
         <remoteRepository url="${maven.repo.url}" layout="default">
@@ -86,6 +92,7 @@
     </exec>
     -->
     <delete file="${pom}.tmp"/>
+    <delete file="${file}.asc"/>
   </target>
   
   <target name="generic-deploy" depends="init-maven">



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to