maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ogusa...@apache.org
Subject svn commit: r727115 - in /maven/mercury/trunk/mercury-ant/mercury-ant-tasks: build.xml secret.properties
Date Tue, 16 Dec 2008 18:49:39 GMT
Author: ogusakov
Date: Tue Dec 16 10:49:39 2008
New Revision: 727115

URL: http://svn.apache.org/viewvc?rev=727115&view=rev
Log:
[MERCURY-56] small pgp enhancement: how to hide passwords

Added:
    maven/mercury/trunk/mercury-ant/mercury-ant-tasks/secret.properties   (with props)
Modified:
    maven/mercury/trunk/mercury-ant/mercury-ant-tasks/build.xml

Modified: maven/mercury/trunk/mercury-ant/mercury-ant-tasks/build.xml
URL: http://svn.apache.org/viewvc/maven/mercury/trunk/mercury-ant/mercury-ant-tasks/build.xml?rev=727115&r1=727114&r2=727115&view=diff
==============================================================================
--- maven/mercury/trunk/mercury-ant/mercury-ant-tasks/build.xml (original)
+++ maven/mercury/trunk/mercury-ant/mercury-ant-tasks/build.xml Tue Dec 16 10:49:39 2008
@@ -1,6 +1,8 @@
 <project name="test" default="compile" xmlns:merc="antlib:org.apache.maven.mercury.ant.tasks"
>
   
   <target name="init">
+  	
+  	<property file="${basedir}/secret.properties"/>
 
     <property name="config.name" value="conf"/>
     <property name="compiler.version" value="1.5"/>
@@ -46,8 +48,8 @@
         
         <merc:verifywrite type="pgp">
           <property name="keyring" value="${basedir}/target/test-classes/pgp/secring.gpg"/>
-          <property name="pass"    value="testKey82"/>
-          <property name="key"    value="0EDB5D91141BC4F2"/>
+          <property name="pass"    value="${secret.keyring.pass}"/>
+          <property name="key"     value="${secret.keyring.key}"/>
         </merc:verifywrite>
         
         <merc:verifyread type="pgp">

Added: maven/mercury/trunk/mercury-ant/mercury-ant-tasks/secret.properties
URL: http://svn.apache.org/viewvc/maven/mercury/trunk/mercury-ant/mercury-ant-tasks/secret.properties?rev=727115&view=auto
==============================================================================
--- maven/mercury/trunk/mercury-ant/mercury-ant-tasks/secret.properties (added)
+++ maven/mercury/trunk/mercury-ant/mercury-ant-tasks/secret.properties Tue Dec 16 10:49:39
2008
@@ -0,0 +1,2 @@
+secret.keyring.pass=testKey82
+secret.keyring.key=0EDB5D91141BC4F2
\ No newline at end of file

Propchange: maven/mercury/trunk/mercury-ant/mercury-ant-tasks/secret.properties
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/mercury/trunk/mercury-ant/mercury-ant-tasks/secret.properties
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision



Mime
View raw message