MPDEPLOY-2. Add optional maven.ssh.args and maven.scp.args.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114839 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
1 parent
bbde01e5d6
commit
b4c475c48e
3 files changed
+20
-4
No files matched your search
+3
-4
@@ -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="${username}@${siteAddress}:${resolvedDirectory}"/>
|
||||
<ant:arg line="${maven.scp.args} ${artifact} ${username}@${siteAddress}:${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>
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -37,6 +37,13 @@
|
||||
named <code>scp</code> must be in your path).
|
||||
</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>
|
||||
@@ -47,6 +54,13 @@
|
||||
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>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user