Sign project artifact, the POM, and attached artifacts with GnuPG for deployment.
Mojo Attributes:
verify| Name | Type | Description |
|---|---|---|
| skip | boolean |
Skip doing the gpg signing Default value is false. |
| useAgent | boolean |
Passes --use-agent or --no-use-agent to gpg. If using an agent,
the password is optional as the agent will provide it. Default value is false. |
| Name | Type | Description |
|---|---|---|
| artifactHandlerManager | ArtifactHandlerManager |
Maven ArtifactHandlerManager |
| excludes | String[] |
A list of files to exclude from being signed. Can contain ant-style
wildcards and double wildcards. The default includes are
**/*.md5 **/*.sha1 **/*.asc |
| keyname | String |
The "name" of the key to sign with. Passed to gpg as --local-user. |
| outputDirectory | File |
The directory where to store signature files. |
| passphrase | String |
The passphrase to use when signing. |
| projectHelper | MavenProjectHelper |
Maven ProjectHelper |
Maven ArtifactHandlerManager
org.apache.maven.artifact.handler.manager.ArtifactHandlerManagerNo**/*.md5 **/*.sha1 **/*.asc
java.lang.String[]1.0-alpha-4Nojava.lang.StringNo${gpg.keyname}java.io.File1.0-alpha-4No${project.build.directory}/gpgjava.lang.StringNo${gpg.passphrase}org.apache.maven.project.MavenProjectHelperNobooleanYes${gpg.skip}falsebooleanYes${gpg.useagent}false