| Property name | Description | Optional? |
|---|---|---|
| maven.repo.list |
The list of comma separated names of
the repositories to which artifacts produced by
the project will be deployed. E.g.:
maven.repo.list=myrepo1,ibiblio The names of all other properties are constructed using the entries present in this list. Below the set of properties which can be used for configuration of deployment process to each of the repositories provided in the list. x in the names of those properties should be replaced by actual repository name (like ibiblio). In case of doubts see an example |
No |
| maven.repo.x |
Specifies the URL of remote repository. The URL
should contain the protocol name.
See the the list of supported protocols. x corresponds to repository name defined using maven.repo.list property. |
No |
| maven.repo.x.directory | The path on the remote file system where artifacts will be placed | No |
| maven.repo.x.username | The user name that will be used to authenticated user if access to repository requires authentication. | Yes |
| maven.repo.x.password |
The password which will be used to authenticate
user.
If server/protocol supports authentication via both private/public keys and password, it will first try to use keys for authentication and if that doesn't work then will fall back to using the username and password |
Yes |
| maven.repo.x.group | The remote group (UNIX group) to which artifact will belong after it will be deployed | Yes |
| maven.repo.x.privatekey |
The absolute path to private key file.
Thie is used only for when protocol supports authentication via private/public key pair. |
Yes |
| maven.repo.x.passphrase | The passphrase used to decrypt private key file | Yes |
| maven.repo.x.compress | Used by scp if you want to compress the stream. | Yes |
| maven.repo.x.scp.executable | Yes |
Specifies the name (and possibly location) of the remote secure
copy executable to use (SCP).
The default value is maven.scp.executable.
|
| maven.repo.x.scp.args | Yes | Specifies optional parameters that are passed to the scp executable. |
| maven.repo.x.ssh.executable | Yes |
Specifies the name (and possibly location) of the remote secure
shell executable to use (SSH).
The default value is maven.ssh.executable.
|
| maven.repo.x.ssh.args | Yes | Specifies optional parameters that are passed to the ssh executable. |
If you are behind firewall and need to use proxy server see following section from the Maven User Guide .
| maven.artifact.legacy | Yes | Force legacy (deploy) operation mode, where the SSH and SCP command line tools are used. If artifact is not configured, this will take effect automatically. |
| maven.scp.executable | Yes |
Specifies the name (and possibly location) of the remote secure
copy executable to use (SCP).
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).
The default value is ssh (i.e. an executable
named ssh must be in your path).
|
| maven.ssh.args | Yes | Specifies optional parameters that are passed to the ssh executable. |