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:if>
|
||||
<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>
|
||||
</j:otherwise>
|
||||
</j:choose>
|
||||
@ -303,7 +303,7 @@
|
||||
<j:set var="rsyncArgs" value="${rsyncArgs} --delete" />
|
||||
</j:if>
|
||||
<exec dir="." executable="${maven.rsync.executable}">
|
||||
<arg line="-avz ${rsyncArgs} ${relativeDocsDest}/* ${siteUsername}@${siteAddress}:${siteDirectory}" />
|
||||
<arg line="-az ${rsyncArgs} ${relativeDocsDest}/* ${siteUsername}@${siteAddress}:${siteDirectory}" />
|
||||
</exec>
|
||||
</goal>
|
||||
</project>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
<pomVersion>3</pomVersion>
|
||||
<id>maven-site-plugin</id>
|
||||
<name>Maven Site Plugin</name>
|
||||
<currentVersion>1.6</currentVersion>
|
||||
<currentVersion>1.6.1-SNAPSHOT</currentVersion>
|
||||
<description>Generate web site.</description>
|
||||
<shortDescription>Generate web site</shortDescription>
|
||||
<url>http://maven.apache.org/reference/plugins/site/</url>
|
||||
|
||||
@ -24,6 +24,9 @@
|
||||
<author email="dion@multitask.com.au">dIon Gillard</author>
|
||||
</properties>
|
||||
<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">
|
||||
<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>
|
||||
|
||||
@ -108,6 +108,13 @@
|
||||
named <code>rsync</code> must be in your path).
|
||||
</td>
|
||||
</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>
|
||||
<td>maven.ssh.args</td>
|
||||
<td>Yes</td>
|
||||
@ -159,10 +166,8 @@
|
||||
</section>
|
||||
<section name="Using Putty as ssh client">
|
||||
<p>Set the following porperties (preferably in your %HOME%/build.properties)</p>
|
||||
<source>
|
||||
maven.scp.executable=pscp
|
||||
maven.ssh.executable=plink
|
||||
</source>
|
||||
<source>maven.scp.executable=pscp
|
||||
maven.ssh.executable=plink</source>
|
||||
</section>
|
||||
</body>
|
||||
</document>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user