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
  • Constructor Details

    • SignAndDeployFileMojo

      public SignAndDeployFileMojo()
  • Method Details

    • doExecute

      protected void doExecute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
      Specified by:
      doExecute in class AbstractGpgMojo
      Throws:
      org.apache.maven.plugin.MojoExecutionException
      org.apache.maven.plugin.MojoFailureException
    • deploy

      protected 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