@Mojo(name="sign-and-deploy-file", requiresProject=false, threadSafe=true) public class SignAndDeployFileMojo extends AbstractGpgMojo
| Modifier and Type | Field and Description | 
|---|---|
| protected boolean | updateReleaseInfoParameter used to update the metadata to make the artifact as release. | 
| Constructor and Description | 
|---|
| SignAndDeployFileMojo() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | deploy(File source,
      Artifact artifact,
      ArtifactRepository deploymentRepository,
      ArtifactRepository localRepository)Deploy an artifact from a particular file. | 
| void | execute() | 
getLog, getPluginContext, setLog, setPluginContext@Parameter(property="updateReleaseInfo", defaultValue="false") protected boolean updateReleaseInfo
public void execute()
             throws MojoExecutionException,
                    MojoFailureException
protected void deploy(File source, Artifact artifact, ArtifactRepository deploymentRepository, ArtifactRepository localRepository) throws org.apache.maven.artifact.deployer.ArtifactDeploymentException
source - the file to deployartifact - the artifact definitiondeploymentRepository - the repository to deploy tolocalRepository - the local repository to install intoorg.apache.maven.artifact.deployer.ArtifactDeploymentException - if an error occurred deploying the artifactCopyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.