From 45ce14dc425f2e4fd07234bf50dd80390ee7b210 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Tue, 13 Sep 2005 23:26:27 +0000 Subject: [PATCH] MPSITE-31: Make arguments of chmod in sshdeploy configurable git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@280713 13f79535-47bb-0310-9956-ffa450edef68 --- site/plugin.jelly | 2 +- site/plugin.properties | 2 ++ site/xdocs/changes.xml | 1 + site/xdocs/properties.xml | 14 ++++++++++++++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/site/plugin.jelly b/site/plugin.jelly index 93a99410..937ab8bf 100644 --- a/site/plugin.jelly +++ b/site/plugin.jelly @@ -184,7 +184,7 @@ - + diff --git a/site/plugin.properties b/site/plugin.properties index 94fa4019..b4e891c5 100644 --- a/site/plugin.properties +++ b/site/plugin.properties @@ -29,6 +29,8 @@ maven.site.deploy.method=ssh 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 diff --git a/site/xdocs/changes.xml b/site/xdocs/changes.xml index c8242335..924b0c85 100644 --- a/site/xdocs/changes.xml +++ b/site/xdocs/changes.xml @@ -23,6 +23,7 @@ + Make chmod options in site:sshdeploy configurable. SSH arguments not used in sshdeploy with 'clean'. Deploying the site documentation through SSH always results in 'Build Successful'. FTP deployment doesn't create the remote directory root. diff --git a/site/xdocs/properties.xml b/site/xdocs/properties.xml index 22e44d61..ee351bc7 100644 --- a/site/xdocs/properties.xml +++ b/site/xdocs/properties.xml @@ -122,6 +122,20 @@ Specifies optional parameters that are passed to the ssh executable. + + maven.site.chmod.options + Yes + + Specifies options passed to the chmod executable. Default is '-Rf'. + + + + maven.site.chmod.mode + Yes + + Specifies the mode set by the chmod executable. Default is 'g+u'. + + maven.site.deploy.method Yes