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 the artifact will belong after it is deployed | Yes |
maven.repo.x.mode |
The remote file mode (UNIX permissions) to which the artifact will be set to after it is deployed. Default
is
g+w
.
|
Yes |
maven.repo.x.directory.mode |
The remote directory mode (UNIX permissions) when directories are created while deploying the artifact.
Default is
maven.repo.x.mode
.
Warning:
if you are using an octal file permission, you should not use the default value for this as you should add
the executable permission for directories.
|
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 |
Property name | Description | Optional? |
---|---|---|
maven.repo.x.scp.executable |
Specifies the name (and possibly location) of the remote secure copy executable to use (SCP). The default
value is
maven.scp.executable
.
|
Yes |
maven.repo.x.scp.args | Specifies optional parameters that are passed to the scp executable. | Yes |
maven.repo.x.ssh.executable |
Specifies the name (and possibly location) of the remote secure shell executable to use (SSH). The default
value is
maven.ssh.executable
.
|
Yes |
maven.repo.x.ssh.args | Specifies optional parameters that are passed to the ssh executable. | Yes |
maven.repo.x.port | This property has no effect with scpexe protocol, use args instead. | Yes |
The artifact plugin allows to automatically sign your artifacts with GPG when you deploy a release. You'll find more informations about signing releases here : http://www.apache.org/dev/release-signing.html
You have to install GNU Privacy Guard for your your platform and add it in your PATH.
Property name | Description | Optional? |
---|---|---|
maven.artifact.gpg.skip |
Do you want to skip the signing step? Default : true. Before to enable it you have to correctly setup GPG.
You need to have a key and
gpg
must be in your PATH.
|
Yes |
maven.artifact.gpg.passphrase | The passphrase to use when signing. Default : not defined. If not defined and signing activated, the plugin will prompt for the passphrase. | Yes |
maven.artifact.gpg.keyname |
The "name" of the key to sign with. Passed to gpg as
--local-user
. Default : not defined. The default key is used.
|
Yes |
maven.artifact.gpg.useagent |
Passes
--use-agent
or
--no-use-agent
to gpg. If using an agent, the password is optional as the agent will provide it. Default : false.
|
Yes |
Property name | Description | Optional? |
---|---|---|
maven.artifact.deploy.timestamps | Specifies whether timestamped versions of artifacts should be deployed as well when deploying SNAPSHOT versions. Defaults to 'true'. | Yes |
If you are behind a firewall and need to use a proxy server, check the proxy properties .
Property name | Description | Optional? |
---|---|---|
maven.scp.executable |
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).
|
Yes |
maven.scp.args | Specifies optional parameters that are passed to the scp executable. | Yes |
maven.ssh.executable |
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).
|
Yes |
maven.ssh.args | Specifies optional parameters that are passed to the ssh executable. | Yes |