You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by lt...@apache.org on 2005/09/14 01:26:31 UTC
svn commit: r280713 - in /maven/maven-1/plugins/trunk/site: plugin.jelly
plugin.properties xdocs/changes.xml xdocs/properties.xml
Author: ltheussl
Date: Tue Sep 13 16:26:27 2005
New Revision: 280713
URL: http://svn.apache.org/viewcvs?rev=280713&view=rev
Log:
MPSITE-31: Make arguments of chmod in sshdeploy configurable
Modified:
maven/maven-1/plugins/trunk/site/plugin.jelly
maven/maven-1/plugins/trunk/site/plugin.properties
maven/maven-1/plugins/trunk/site/xdocs/changes.xml
maven/maven-1/plugins/trunk/site/xdocs/properties.xml
Modified: maven/maven-1/plugins/trunk/site/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/site/plugin.jelly?rev=280713&r1=280712&r2=280713&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/site/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/site/plugin.jelly Tue Sep 13 16:26:27 2005
@@ -184,7 +184,7 @@
</exec>
<exec dir="." executable="${maven.ssh.executable}" failonerror="true">
- <arg line="${maven.ssh.args} -l ${siteUsername} ${siteAddress} 'cd ${maven.homepage} && ${maven.site.gunzip.executable} ${maven.final.name}-site.tar.gz && ${maven.site.tar.executable} ${maven.site.tar.options} ${maven.final.name}-site.tar && chmod -Rf g+u * . && rm ${maven.final.name}-site.tar'"/>
+ <arg line="${maven.ssh.args} -l ${siteUsername} ${siteAddress} 'cd ${maven.homepage} && ${maven.site.gunzip.executable} ${maven.final.name}-site.tar.gz && ${maven.site.tar.executable} ${maven.site.tar.options} ${maven.final.name}-site.tar && chmod ${maven.site.chmod.options} ${maven.site.chmod.mode} * . && rm ${maven.final.name}-site.tar'"/>
</exec>
<delete file="${maven.build.dir}/${maven.final.name}-site.tar.gz"/>
Modified: maven/maven-1/plugins/trunk/site/plugin.properties
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/site/plugin.properties?rev=280713&r1=280712&r2=280713&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/site/plugin.properties (original)
+++ maven/maven-1/plugins/trunk/site/plugin.properties Tue Sep 13 16:26:27 2005
@@ -29,6 +29,8 @@
maven.site.tar.executable=tar
maven.site.tar.options=xvf
maven.site.gunzip.executable=gunzip
+maven.site.chmod.options=-Rf
+maven.site.chmod.mode=g+u
maven.rsync.executable=rsync
Modified: maven/maven-1/plugins/trunk/site/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/site/xdocs/changes.xml?rev=280713&r1=280712&r2=280713&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/site/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/site/xdocs/changes.xml Tue Sep 13 16:26:27 2005
@@ -23,6 +23,7 @@
</properties>
<body>
<release version="1.6.2-SNAPSHOT" date="In SVN">
+ <action dev="ltheussl" type="add" issue="MPSITE-31">Make <code>chmod</code> options in <code>site:sshdeploy</code> configurable.</action>
<action dev="ltheussl" type="fix" issue="MPSITE-24" due-to="Julian Dunn">SSH arguments not used in <code>sshdeploy</code> with 'clean'.</action>
<action dev="aheritier" type="fix" issue="MPSITE-28" due-to="Davy Toch">Deploying the site documentation through SSH always results in 'Build Successful'.</action>
<action dev="aheritier" type="fix" issue="MPSITE-27">FTP deployment doesn't create the remote directory root.</action>
Modified: maven/maven-1/plugins/trunk/site/xdocs/properties.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/site/xdocs/properties.xml?rev=280713&r1=280712&r2=280713&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/site/xdocs/properties.xml (original)
+++ maven/maven-1/plugins/trunk/site/xdocs/properties.xml Tue Sep 13 16:26:27 2005
@@ -123,6 +123,20 @@
</td>
</tr>
<tr>
+ <td>maven.site.chmod.options</td>
+ <td>Yes</td>
+ <td>
+ Specifies options passed to the chmod executable. Default is '<code>-Rf</code>'.
+ </td>
+ </tr>
+ <tr>
+ <td>maven.site.chmod.mode</td>
+ <td>Yes</td>
+ <td>
+ Specifies the mode set by the chmod executable. Default is '<code>g+u</code>'.
+ </td>
+ </tr>
+ <tr>
<td>maven.site.deploy.method</td>
<td>Yes</td>
<td>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org