org.apache.maven.plugin.coreit
Class AttachPomMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.coreit.AttachPomMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
public class AttachPomMojo
- extends AbstractMojo
Attaches a POM to the main artifact.
- Version:
- $Id: AttachPomMojo.java 702445 2008-10-07 11:57:13Z bentmann $
- Author:
- Benjamin Bentmann
- Is defined by the goal name:
- attach-pom
- Is bound to the specified phase of the standard build lifecycle:
- package
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Method Summary |
void |
execute()
Runs this mojo. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachPomMojo
public AttachPomMojo()
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Runs this mojo.
- Throws:
MojoFailureException
- If the artifact file has not been set.
MojoExecutionException
Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.