You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2015/04/29 13:55:33 UTC

svn commit: r1676721 - in /tomcat/trunk: build.xml res/maven/mvn-pub.xml

Author: markt
Date: Wed Apr 29 11:55:31 2015
New Revision: 1676721

URL: http://svn.apache.org/r1676721
Log:
gpg2 needs an additional option set to read the passphrase from stdin

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

Modified: tomcat/trunk/build.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/build.xml?rev=1676721&r1=1676720&r2=1676721&view=diff
==============================================================================
--- tomcat/trunk/build.xml (original)
+++ tomcat/trunk/build.xml Wed Apr 29 11:55:31 2015
@@ -3112,6 +3112,7 @@ Read the Building page on the Apache Tom
     <fail unless="file" />
     <exec executable="${gpg.exec}" failonerror="true"
           inputstring="${gpg.passphrase}">
+      <arg value="--batch"/>
       <arg value="--passphrase-fd"/>
       <arg value="0"/>
       <arg value="-a"/>

Modified: tomcat/trunk/res/maven/mvn-pub.xml
URL: http://svn.apache.org/viewvc/tomcat/trunk/res/maven/mvn-pub.xml?rev=1676721&r1=1676720&r2=1676721&view=diff
==============================================================================
--- tomcat/trunk/res/maven/mvn-pub.xml (original)
+++ tomcat/trunk/res/maven/mvn-pub.xml Wed Apr 29 11:55:31 2015
@@ -51,6 +51,7 @@
     <!--sign the jar, the source and the pom -->
     <exec executable="${gpg.exec}" failonerror="true"
           inputstring="${gpg.passphrase}">
+      <arg value="--batch"/>
       <arg value="--passphrase-fd"/>
       <arg value="0"/>
       <arg value="-a"/>
@@ -59,6 +60,7 @@
     </exec>
     <exec executable="${gpg.exec}" failonerror="true"
           inputstring="${gpg.passphrase}">
+      <arg value="--batch"/>
       <arg value="--passphrase-fd"/>
       <arg value="0"/>
       <arg value="-a"/>
@@ -67,6 +69,7 @@
     </exec>
     <exec executable="${gpg.exec}" failonerror="true"
           inputstring="${gpg.passphrase}">
+      <arg value="--batch"/>
       <arg value="--passphrase-fd"/>
       <arg value="0"/>
       <arg value="-a"/>
@@ -130,6 +133,7 @@
     <!--sign the file and pom -->
     <exec executable="${gpg.exec}" failonerror="true"
           inputstring="${gpg.passphrase}">
+      <arg value="--batch"/>
       <arg value="--passphrase-fd"/>
       <arg value="0"/>
       <arg value="-a"/>
@@ -138,6 +142,7 @@
     </exec>
     <exec executable="${gpg.exec}" failonerror="true"
           inputstring="${gpg.passphrase}">
+      <arg value="--batch"/>
       <arg value="--passphrase-fd"/>
       <arg value="0"/>
       <arg value="-a"/>
@@ -195,6 +200,7 @@
     <!--sign the zip, the tar.gz and the pom -->
     <exec executable="${gpg.exec}" failonerror="true"
           inputstring="${gpg.passphrase}">
+      <arg value="--batch"/>
       <arg value="--passphrase-fd"/>
       <arg value="0"/>
       <arg value="-a"/>
@@ -203,6 +209,7 @@
     </exec>
     <exec executable="${gpg.exec}" failonerror="true"
           inputstring="${gpg.passphrase}">
+      <arg value="--batch"/>
       <arg value="--passphrase-fd"/>
       <arg value="0"/>
       <arg value="-a"/>
@@ -211,6 +218,7 @@
     </exec>
     <exec executable="${gpg.exec}" failonerror="true"
           inputstring="${gpg.passphrase}">
+      <arg value="--batch"/>
       <arg value="--passphrase-fd"/>
       <arg value="0"/>
       <arg value="-a"/>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org