Package org.apache.maven.plugins.gpg
Class SignAndDeployFileMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.gpg.AbstractGpgMojo
org.apache.maven.plugins.gpg.SignAndDeployFileMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled,- org.apache.maven.plugin.Mojo
@Mojo(name="sign-and-deploy-file",
      requiresProject=false,
      threadSafe=true)
public class SignAndDeployFileMojo
extends AbstractGpgMojo
Signs artifacts and deploys the artifacts and signatures in the remote repository.
- Since:
- 1.0-beta-4
- Author:
- Daniel Kulp
- 
Field SummaryFields inherited from class org.apache.maven.plugins.gpg.AbstractGpgMojoDEFAULT_ENV_MAVEN_GPG_FINGERPRINT, DEFAULT_ENV_MAVEN_GPG_KEY, DEFAULT_ENV_MAVEN_GPG_PASSPHRASE, session, settings, settingsDecrypterFields inherited from interface org.apache.maven.plugin.MojoROLE
- 
Constructor SummaryConstructorsConstructorDescriptionSignAndDeployFileMojo(org.eclipse.aether.RepositorySystem repositorySystem, org.apache.maven.model.validation.ModelValidator modelValidator, org.apache.maven.project.MavenProject project, org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager) 
- 
Method SummaryMethods inherited from class org.apache.maven.plugins.gpg.AbstractGpgMojocreateSigner, enforceBestPractices, execute, getPassphrase, newSignerMethods inherited from class org.apache.maven.plugin.AbstractMojogetLog, getPluginContext, setLog, setPluginContext
- 
Constructor Details- 
SignAndDeployFileMojo@Inject public SignAndDeployFileMojo(org.eclipse.aether.RepositorySystem repositorySystem, org.apache.maven.model.validation.ModelValidator modelValidator, org.apache.maven.project.MavenProject project, org.apache.maven.artifact.handler.manager.ArtifactHandlerManager artifactHandlerManager) 
 
- 
- 
Method Details- 
doExecuteprotected void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
- doExecutein class- AbstractGpgMojo
- Throws:
- org.apache.maven.plugin.MojoExecutionException
- org.apache.maven.plugin.MojoFailureException
 
- 
deployprotected void deploy(org.eclipse.aether.repository.RemoteRepository deploymentRepository, List<org.eclipse.aether.artifact.Artifact> artifacts) throws org.eclipse.aether.deployment.DeploymentException Deploy an artifact from a particular file.- Parameters:
- deploymentRepository- the repository to deploy to
- artifacts- the artifacts definition
- Throws:
- org.eclipse.aether.deployment.DeploymentException- if an error occurred deploying the artifact
 
 
-