tweaks to rsync options and docs
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@125757 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c753cb1dfa
commit
85032f73b2
@ -284,7 +284,7 @@
|
|||||||
<j:set var="rsyncArgs" value="${rsyncArgs} --delete" />
|
<j:set var="rsyncArgs" value="${rsyncArgs} --delete" />
|
||||||
</j:if>
|
</j:if>
|
||||||
<exec dir="." executable="${maven.ssh.executable}">
|
<exec dir="." executable="${maven.ssh.executable}">
|
||||||
<arg line="${siteUsername}@${siteAddress} '${maven.rsync.executable} ${rsyncArgs} -avz ${siteDirectory}/* ${destSiteUsername}@${destSiteAddress}:${destSiteDirectory}'" />
|
<arg line="${siteUsername}@${siteAddress} '${maven.rsync.executable} ${rsyncArgs} -az ${siteDirectory}/* ${destSiteUsername}@${destSiteAddress}:${destSiteDirectory}'" />
|
||||||
</exec>
|
</exec>
|
||||||
</j:otherwise>
|
</j:otherwise>
|
||||||
</j:choose>
|
</j:choose>
|
||||||
@ -303,7 +303,7 @@
|
|||||||
<j:set var="rsyncArgs" value="${rsyncArgs} --delete" />
|
<j:set var="rsyncArgs" value="${rsyncArgs} --delete" />
|
||||||
</j:if>
|
</j:if>
|
||||||
<exec dir="." executable="${maven.rsync.executable}">
|
<exec dir="." executable="${maven.rsync.executable}">
|
||||||
<arg line="-avz ${rsyncArgs} ${relativeDocsDest}/* ${siteUsername}@${siteAddress}:${siteDirectory}" />
|
<arg line="-az ${rsyncArgs} ${relativeDocsDest}/* ${siteUsername}@${siteAddress}:${siteDirectory}" />
|
||||||
</exec>
|
</exec>
|
||||||
</goal>
|
</goal>
|
||||||
</project>
|
</project>
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
<pomVersion>3</pomVersion>
|
<pomVersion>3</pomVersion>
|
||||||
<id>maven-site-plugin</id>
|
<id>maven-site-plugin</id>
|
||||||
<name>Maven Site Plugin</name>
|
<name>Maven Site Plugin</name>
|
||||||
<currentVersion>1.6</currentVersion>
|
<currentVersion>1.6.1-SNAPSHOT</currentVersion>
|
||||||
<description>Generate web site.</description>
|
<description>Generate web site.</description>
|
||||||
<shortDescription>Generate web site</shortDescription>
|
<shortDescription>Generate web site</shortDescription>
|
||||||
<url>http://maven.apache.org/reference/plugins/site/</url>
|
<url>http://maven.apache.org/reference/plugins/site/</url>
|
||||||
|
|||||||
@ -24,6 +24,9 @@
|
|||||||
<author email="dion@multitask.com.au">dIon Gillard</author>
|
<author email="dion@multitask.com.au">dIon Gillard</author>
|
||||||
</properties>
|
</properties>
|
||||||
<body>
|
<body>
|
||||||
|
<release version="1.6.1-SNAPSHOT" date="in SVN">
|
||||||
|
<action dev="brett" type="change">Remove -v option from rsync by default</action>
|
||||||
|
</release>
|
||||||
<release version="1.6" date="2005-01-18">
|
<release version="1.6" date="2005-01-18">
|
||||||
<action dev="brett" type="add">Add ability to clean the destination before deployment</action>
|
<action dev="brett" type="add">Add ability to clean the destination before deployment</action>
|
||||||
<action dev="brett" type="add" issue="MPSITE-21">Add the rsync deployment method</action>
|
<action dev="brett" type="add" issue="MPSITE-21">Add the rsync deployment method</action>
|
||||||
|
|||||||
@ -108,6 +108,13 @@
|
|||||||
named <code>rsync</code> must be in your path).
|
named <code>rsync</code> must be in your path).
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>maven.rsync.args</td>
|
||||||
|
<td>Yes</td>
|
||||||
|
<td>
|
||||||
|
Specifies optional parameters that are passed to the rsync executable (in addition to -az).
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>maven.ssh.args</td>
|
<td>maven.ssh.args</td>
|
||||||
<td>Yes</td>
|
<td>Yes</td>
|
||||||
@ -159,10 +166,8 @@
|
|||||||
</section>
|
</section>
|
||||||
<section name="Using Putty as ssh client">
|
<section name="Using Putty as ssh client">
|
||||||
<p>Set the following porperties (preferably in your %HOME%/build.properties)</p>
|
<p>Set the following porperties (preferably in your %HOME%/build.properties)</p>
|
||||||
<source>
|
<source>maven.scp.executable=pscp
|
||||||
maven.scp.executable=pscp
|
maven.ssh.executable=plink</source>
|
||||||
maven.ssh.executable=plink
|
|
||||||
</source>
|
|
||||||
</section>
|
</section>
|
||||||
</body>
|
</body>
|
||||||
</document>
|
</document>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user