evenisse 2004/03/08 02:48:24 Modified: deploy plugin.jelly deploy/xdocs changes.xml properties.xml Log: MPDEPLOY-2. Add optional maven.ssh.args and maven.scp.args. Revision Changes Path 1.13 +3 -4 maven-plugins/deploy/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /home/cvs/maven-plugins/deploy/plugin.jelly,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- plugin.jelly 4 Mar 2004 18:03:30 -0000 1.12 +++ plugin.jelly 8 Mar 2004 10:48:23 -0000 1.13 @@ -106,13 +106,12 @@ <j:set var="assureDirectoryCommandX" value="${assureDirectoryCommand}X"/> <j:if test="${assureDirectoryCommandX != 'X'}"> <ant:exec dir="." executable="${commander}"> - <ant:arg line="-l ${username} ${siteAddress} '${assureDirectoryCommand} ${resolvedDirectory}'"/> + <ant:arg line="${maven.ssh.args} -l ${username} ${siteAddress} '${assureDirectoryCommand} ${resolvedDirectory}'"/> </ant:exec> </j:if> <ant:exec dir="." executable="${copier}"> - <ant:arg value="${artifact}"/> - <ant:arg value="[EMAIL PROTECTED]:${resolvedDirectory}"/> + <ant:arg line="${maven.scp.args} ${artifact} [EMAIL PROTECTED]:${resolvedDirectory}"/> </ant:exec> <!-- @@ -136,7 +135,7 @@ </ant:echo> <ant:exec dir="." executable="${commander}"> - <ant:arg line="-l ${username} ${siteAddress} '${siteCommand}'"/> + <ant:arg line="${maven.ssh.args} -l ${username} ${siteAddress} '${siteCommand}'"/> </ant:exec> </j:if> 1.4 +3 -0 maven-plugins/deploy/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/maven-plugins/deploy/xdocs/changes.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- changes.xml 4 Mar 2004 18:03:30 -0000 1.3 +++ changes.xml 8 Mar 2004 10:48:23 -0000 1.4 @@ -26,6 +26,9 @@ <body> <release version="1.3" date="in CVS"> + <action dev="evenisse" type="add" issue=""MPDEPLOY-2"> + Add optional maven.ssh.args and maven.scp.args. + </action> </release> <release version="1.2" date="2003-11-22"> 1.3 +14 -0 maven-plugins/deploy/xdocs/properties.xml Index: properties.xml =================================================================== RCS file: /home/cvs/maven-plugins/deploy/xdocs/properties.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- properties.xml 4 Mar 2004 18:03:30 -0000 1.2 +++ properties.xml 8 Mar 2004 10:48:23 -0000 1.3 @@ -38,6 +38,13 @@ </td> </tr> <tr> + <td>maven.scp.args</td> + <td>Yes</td> + <td> + Specifies optional parameters that are passed to the scp executable. + </td> + </tr> + <tr> <td>maven.ssh.executable</td> <td>Yes</td> <td> @@ -45,6 +52,13 @@ shell executable to use (SSH). This is used by the "deploy:pom" goal. The default value is <code>ssh</code> (i.e. an executable named <code>ssh</code> must be in your path). + </td> + </tr> + <tr> + <td>maven.ssh.args</td> + <td>Yes</td> + <td> + Specifies optional parameters that are passed to the ssh executable. </td> </tr> </table>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]