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:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.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
Field Summary |
protected org.apache.maven.project.MavenProject |
project
The maven project. |
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 org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
project
protected org.apache.maven.project.MavenProject project
- The maven project.
- Is defined by:
- default-value:
- ${project}
- Is readonly.
- Is required.
GpgSignAttachedMojo
public GpgSignAttachedMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.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-2010 The Apache Software Foundation. All Rights Reserved.