Package org.apache.maven.plugins.gpg
Class GpgSignAttachedMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.gpg.AbstractGpgMojo
org.apache.maven.plugins.gpg.GpgSignAttachedMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="sign",
defaultPhase=VERIFY,
threadSafe=true)
public class GpgSignAttachedMojo
extends AbstractGpgMojo
Sign project artifact, the POM, and attached artifacts with GnuPG for deployment.
- Author:
- Jason van Zyl, Jason Dillon, Daniel Kulp
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.maven.project.MavenProject
The maven project.Fields inherited from class org.apache.maven.plugins.gpg.AbstractGpgMojo
DEFAULT_ENV_MAVEN_GPG_FINGERPRINT, DEFAULT_ENV_MAVEN_GPG_KEY, DEFAULT_ENV_MAVEN_GPG_PASSPHRASE, session, settings, settingsDecrypter
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.maven.plugins.gpg.AbstractGpgMojo
createSigner, enforceBestPractices, execute, getPassphrase, newSigner
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Component protected org.apache.maven.project.MavenProject projectThe maven project.
-
-
Constructor Details
-
GpgSignAttachedMojo
public GpgSignAttachedMojo()
-
-
Method Details
-
doExecute
protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
doExecute
in classAbstractGpgMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-