public class SignAndDeployFileMojo extends AbstractGpgMojo
Modifier and Type | Field and Description |
---|---|
protected boolean |
updateReleaseInfo
Parameter 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,
org.apache.maven.artifact.Artifact artifact,
org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository,
org.apache.maven.artifact.repository.ArtifactRepository localRepository)
Deploy an artifact from a particular file.
|
void |
execute() |
protected boolean updateReleaseInfo
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void deploy(File source, org.apache.maven.artifact.Artifact artifact, org.apache.maven.artifact.repository.ArtifactRepository deploymentRepository, org.apache.maven.artifact.repository.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–2013 The Apache Software Foundation. All rights reserved.