org.apache.maven.plugin.gpg
Class GpgSignAttachedMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.gpg.AbstractGpgMojo
org.apache.maven.plugin.gpg.GpgSignAttachedMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class GpgSignAttachedMojo
- extends AbstractGpgMojo
Sign project artifact, the POM, and attached artifacts with GnuPG for deployment.
- Author:
- Jason van Zyl, Jason Dillon, Daniel Kulp
- Is defined by the goal name:
- sign
- Is bound to the specified phase of the standard build lifecycle:
- verify
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
|
protected boolean |
isExcluded(String name)
Tests whether or not a name matches against at least one exclude pattern. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
protected MavenProject project
- The maven project.
- Is defined by:
- default-value:
- ${project}
- Is readonly.
- Is required.
GpgSignAttachedMojo
public GpgSignAttachedMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Throws:
MojoExecutionException
MojoFailureException
isExcluded
protected boolean isExcluded(String name)
- Tests whether or not a name matches against at least one exclude pattern.
- Parameters:
name
- The name to match. Must not be null
.
- Returns:
true
when the name matches against at least one exclude pattern, or false
otherwise.
Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.