org.terracotta.forge.plugin
Class ManifestMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.terracotta.forge.plugin.ManifestMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class ManifestMojo
- extends org.apache.maven.plugin.AbstractMojo
Mojo to create manifest with build info (ie, timestamp, revision, url, etc.)
- Author:
- hhuynh
Field Summary |
protected org.apache.maven.project.MavenProject |
project
project instance. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
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
- project instance. Injected automtically by Maven
ManifestMojo
public ManifestMojo()
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
createOrLoadManifest
protected java.util.jar.Manifest createOrLoadManifest()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2011. All Rights Reserved.