| 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 optional parameters that are passed to the rsync executable (in addition to -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 'g+u'.
|
| 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.
|
Set the following porperties (preferably in your %HOME%/build.properties)