diff --git a/site/xdocs/changes.xml b/site/xdocs/changes.xml index 4e286ddf..ab5fad37 100644 --- a/site/xdocs/changes.xml +++ b/site/xdocs/changes.xml @@ -27,7 +27,7 @@ New property maven.site.gunzip.options can be used to set options when using gunzip (default value is -f). Missing maven.ssh.args in site:publish. Deploy site on unix create rights rwxr-xr-x. Group members can't override files. The default value for maven.site.chmod.mode is now 775. - New property maven.site.failonerror can be used to bypass remote errors. + New property maven.site.failonerror can be used to bypass remote errors. Defaults to true. *NOTE* that this default will fail a deploy for any "minor" error, please read the properties documentation. 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'. diff --git a/site/xdocs/properties.xml b/site/xdocs/properties.xml index e6eea6b6..a1b5a9b8 100644 --- a/site/xdocs/properties.xml +++ b/site/xdocs/properties.xml @@ -186,8 +186,14 @@ maven.site.failonerror Yes - Specifies if remote commands errors must stop the build. + Specifies if errors in remote commands should stop the build. Defaults to true. + NOTE that with this default, a remote deploy will + fail for any "minor" error: for example if tar can't + overwrite a file or if the remote user doesn't have the needed rights + to change the permission for the root site directory + (like for the htdocs dir on sourceforge). + Sourceforge users are therefore advised to set this to false.