Apache Maven 1.x has reached its end of life, and is no longer supported. For more information, see the announcement. Users are encouraged to migrate to the current version of Apache Maven.

Site Properties

maven.site.stage.address Yes Specifies the site address to use when publishing to staging. If not specified, the same address is used as live.
maven.site.stage.directory Yes Specifies the site directory to use when publishing to staging. If not specified, the same directory is used as live.
maven.site.deploy.live Yes Force the use of the live deployment parameters, even if the staging ones are specified
maven.site.deploy.clean Yes This will ensure the target in a site:deploy goal is clean by either deleting the directory first, or rsync'ing with the --delete option. This operation is not atomic, so is not recommended for the live site unless you are using the rsync method.
maven.site.publish.clean Yes This will ensure the target in a site:publish goal is clean by either deleting the directory first, or rsync'ing with the --delete option. This operation is not atomic, so is not recommended for the live site unless you are using the rsync method.
maven.scp.executable Yes Specifies the name (and possibly location) of the remote secure copy executable to use (SCP). This is used by the "site:deploy" goal. The default value is scp (i.e. an executable named scp must be in your path).
maven.scp.args Yes Specifies optional parameters that are passed to the scp executable.
maven.ssh.executable Yes Specifies the name (and possibly location) of the remote secure shell executable to use (SSH). This is used by the "site:deploy" goal. The default value is ssh (i.e. an executable named ssh must be in your path).
maven.rsync.executable Yes Specifies the name (and possibly location) of the remote rsync executable to use. This is used by the "site:publish" and "site:rsyncdeploy" goal. The default value is rsync (i.e. an executable named rsync must be in your path).
maven.rsync.args Yes Specifies parameters that are passed to the rsync executable. Default : -az.
maven.ssh.args Yes 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 '775'.
maven.site.deploy.method Yes Specifies the method to use when deploying the site. Possible values are: ftp, rsync, fs and ssh. The ssh method is the good old method which has always been used within Maven. When you specify fs the site will be deployed on a local file system. The siteDirectory property will be used to copy the site to.
maven.site.tar.executable Yes Specifies the executable to use for 'tar' when deploying the site. Defaults to tar. Override this property if your system has a default version of tar that is failing.
maven.site.tar.options Yes Specifies the options to use for 'tar' when deploying the site. Defaults to xUvf. Override this property if your system has a version of tar that is failing, e.g. it doesn't support the U option.
maven.site.gunzip.executable Yes Specifies the executable to use for 'gunzip' when deploying the site. Defaults to gunzip. Override this property if your system has a default version of gunzip that is failing.
maven.site.gunzip.options Yes Specifies options passed to the gunzip executable. Default is '-f'.
maven.site.failonerror Yes 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.
maven.site.reports.ignoreErrors Yes Set this to true to ignore any errors in all reports during site generation. Note that this overrides all corresponding settings of the plugins used to generate the reports and might lead to broken links on your site. Defaults to false.

Using Putty as ssh client

Set the following porperties (preferably in your %HOME%/build.properties)

maven.scp.executable=pscp
maven.ssh.executable=plink