Full name:
org.apache.maven.plugins:maven-gpg-plugin:1.0:sign-and-deploy-file
Description:
Attributes:
1.0-beta-4
.Name | Type | Since | Description |
---|---|---|---|
file | File |
1.0-beta-4 |
File to be deployed. |
repositoryId | String |
1.0-beta-4 |
Server Id to map on the <id> under <server> section of
settings.xml . In most cases, this parameter will be
required for authentication.Default value is: remote-repository . |
url | String |
1.0-beta-4 |
URL where the artifact will be deployed. ie ( file:///C:/m2-repo or scp://host.com/path/to/repo ) |
Name | Type | Since | Description |
---|---|---|---|
artifactId | String |
1.0-beta-4 |
ArtifactId of the artifact to be deployed. Retrieved from POM file
if specified. |
ascDirectory | File |
1.0-beta-4 |
The directory where to store signature files. |
classifier | String |
1.0-beta-4 |
Add classifier to the artifact |
description | String |
1.0-beta-4 |
Description passed to a generated POM file (in case of
generatePom=true). |
generatePom | boolean |
1.0-beta-4 |
Upload a POM for this artifact. Will generate a default POM if none
is supplied with the pomFile argument. Default value is: true . |
groupId | String |
1.0-beta-4 |
GroupId of the artifact to be deployed. Retrieved from POM file if
specified. |
homedir | File |
1.0 |
The directory from which gpg will load keyrings. If not specified,
gpg will use the value configured for its installation, e.g.
~/.gnupg or %APPDATA%/gnupg . |
keyname | String |
1.0-beta-4 |
The "name" of the key to sign with. Passed to gpg as
--local-user . |
packaging | String |
1.0-beta-4 |
Type of the artifact to be deployed. Retrieved from POM file if
specified. |
passphrase | String |
1.0-beta-4 |
The passphrase to use when signing. |
pomFile | File |
1.0-beta-4 |
Location of an existing POM file to be deployed alongside the main
artifact, given by the ${file} parameter. |
repositoryLayout | String |
1.0-beta-4 |
The type of remote repository layout to deploy to. Try
legacy for a Maven 1.x-style repository layout. Default value is: default . |
uniqueVersion | boolean |
1.0-beta-4 |
Whether to deploy snapshots with a unique version or not. Default value is: true . |
useAgent | boolean |
1.0-beta-4 |
Passes --use-agent or --no-use-agent to
gpg. If using an agent, the passphrase is optional as the agent
will provide it.Default value is: false . |
version | String |
1.0-beta-4 |
Version of the artifact to be deployed. Retrieved from POM file if
specified. |
java.lang.String
1.0-beta-4
No
${artifactId}
java.io.File
1.0-beta-4
No
${gpg.ascDirectory}
java.lang.String
1.0-beta-4
No
${classifier}
java.lang.String
1.0-beta-4
No
${generatePom.description}
file:
java.io.File
1.0-beta-4
Yes
${file}
boolean
1.0-beta-4
No
${generatePom}
true
java.lang.String
1.0-beta-4
No
${groupId}
~/.gnupg
or %APPDATA%/gnupg
.java.io.File
1.0
No
${gpg.homedir}
--local-user
.java.lang.String
1.0-beta-4
No
${gpg.keyname}
java.lang.String
1.0-beta-4
No
${packaging}
java.lang.String
1.0-beta-4
No
${gpg.passphrase}
java.io.File
1.0-beta-4
No
${pomFile}
settings.xml
. In most cases, this parameter will be
required for authentication.java.lang.String
1.0-beta-4
Yes
${repositoryId}
remote-repository
java.lang.String
1.0-beta-4
No
${repositoryLayout}
default
boolean
1.0-beta-4
No
${uniqueVersion}
true
url:
java.lang.String
1.0-beta-4
Yes
${url}
--use-agent
or --no-use-agent
to
gpg. If using an agent, the passphrase is optional as the agent
will provide it.boolean
1.0-beta-4
No
${gpg.useagent}
false
java.lang.String
1.0-beta-4
No
${version}