@Mojo(name="sign-and-deploy-file",
requiresProject=false,
threadSafe=true)
public class SignAndDeployFileMojo
extends AbstractGpgMojo
DEFAULT_ENV_MAVEN_GPG_FINGERPRINT, DEFAULT_ENV_MAVEN_GPG_KEY, DEFAULT_ENV_MAVEN_GPG_PASSPHRASE, session, settings, settingsDecrypter| Constructor and Description |
|---|
SignAndDeployFileMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
deploy(org.eclipse.aether.repository.RemoteRepository deploymentRepository,
List<org.eclipse.aether.artifact.Artifact> artifacts)
Deploy an artifact from a particular file.
|
protected void |
doExecute() |
createSigner, enforceBestPractices, execute, getPassphrase, newSignerprotected void doExecute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
doExecute in class AbstractGpgMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected void deploy(org.eclipse.aether.repository.RemoteRepository deploymentRepository,
List<org.eclipse.aether.artifact.Artifact> artifacts)
throws org.eclipse.aether.deployment.DeploymentException
deploymentRepository - the repository to deploy toartifacts - the artifacts definitionorg.eclipse.aether.deployment.DeploymentException - if an error occurred deploying the artifactCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.