diff --git a/site/plugin.jelly b/site/plugin.jelly index c032aec1..5904c1fb 100644 --- a/site/plugin.jelly +++ b/site/plugin.jelly @@ -169,21 +169,21 @@ Cleaning destination first - + - + - + - + @@ -286,11 +286,11 @@ Executing filesystem copy on remote server to publish Cleaning destination first - + - + @@ -301,7 +301,7 @@ Cleaning destination - + @@ -312,7 +312,7 @@ description="Deploy the generated site using rsync" prereqs="site:init,site:remote-deploy-init"> rsyncing... - + @@ -322,7 +322,7 @@ - + diff --git a/site/plugin.properties b/site/plugin.properties index b4e891c5..4756ea9f 100644 --- a/site/plugin.properties +++ b/site/plugin.properties @@ -31,6 +31,7 @@ maven.site.tar.options=xvf maven.site.gunzip.executable=gunzip maven.site.chmod.options=-Rf maven.site.chmod.mode=g+u +maven.site.failonerror=true maven.rsync.executable=rsync diff --git a/site/xdocs/changes.xml b/site/xdocs/changes.xml index d2859d8d..8648af02 100644 --- a/site/xdocs/changes.xml +++ b/site/xdocs/changes.xml @@ -24,6 +24,7 @@ Missing maven.ssh.args in site:publish. + New property maven.site.failonerror can be used bypass remote errors. 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 ee351bc7..34649979 100644 --- a/site/xdocs/properties.xml +++ b/site/xdocs/properties.xml @@ -166,7 +166,6 @@ U option. - maven.site.gunzip.executable Yes @@ -176,6 +175,14 @@ system has a default version of gunzip that is failing. + + maven.site.failonerror + Yes + + Specifies if remote commands errors must stop the build. + Defaults to true. + +