public abstract class AbstractGpgMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ENV_MAVEN_GPG_FINGERPRINT |
static String |
DEFAULT_ENV_MAVEN_GPG_KEY |
static String |
DEFAULT_ENV_MAVEN_GPG_PASSPHRASE |
protected org.apache.maven.execution.MavenSession |
session |
protected org.apache.maven.settings.Settings |
settings
Current user system settings for use in Maven.
|
protected org.apache.maven.settings.crypto.SettingsDecrypter |
settingsDecrypter |
| Constructor and Description |
|---|
AbstractGpgMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractGpgSigner |
createSigner(String name) |
protected abstract void |
doExecute() |
protected void |
enforceBestPractices() |
void |
execute() |
String |
getPassphrase(org.apache.maven.project.MavenProject project)
Deprecated.
|
protected AbstractGpgSigner |
newSigner(org.apache.maven.project.MavenProject mavenProject) |
public static final String DEFAULT_ENV_MAVEN_GPG_KEY
public static final String DEFAULT_ENV_MAVEN_GPG_FINGERPRINT
public static final String DEFAULT_ENV_MAVEN_GPG_PASSPHRASE
@Parameter(defaultValue="${settings}",
readonly=true,
required=true)
protected org.apache.maven.settings.Settings settings
@Inject protected org.apache.maven.execution.MavenSession session
@Inject protected org.apache.maven.settings.crypto.SettingsDecrypter settingsDecrypter
public final void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void enforceBestPractices()
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected abstract void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected AbstractGpgSigner newSigner(org.apache.maven.project.MavenProject mavenProject) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureExceptionprotected AbstractGpgSigner createSigner(String name) throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureException@Deprecated public String getPassphrase(org.apache.maven.project.MavenProject project)
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.