@Mojo(name="sign-and-deploy-file", requiresProject=false, threadSafe=true) 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 ArtifactRepository |
createDeploymentArtifactRepository(String id,
String url) |
protected void |
deploy(Artifact artifact,
ArtifactRepository deploymentRepository)
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(Artifact artifact, ArtifactRepository deploymentRepository) throws ArtifactDeployerException
artifact - the artifact definitiondeploymentRepository - the repository to deploy toArtifactDeployerException - if an error occurred deploying the artifactprotected ArtifactRepository createDeploymentArtifactRepository(String id, String url)
Copyright © 2002–2021 The Apache Software Foundation. All rights reserved.