org.terracotta.forge.plugin
Class ManifestMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by 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
 
Constructor Summary
ManifestMojo()
           
 
Method Summary
protected  java.util.jar.Manifest createOrLoadManifest()
           
 void execute()
           
 
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
 

Field Detail

project

protected org.apache.maven.project.MavenProject project
project instance. Injected automtically by Maven

Constructor Detail

ManifestMojo

public ManifestMojo()
Method Detail

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.