org.apache.maven.plugin.war
Class WarManifestMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.war.AbstractWarMojo
          extended by org.apache.maven.plugin.war.WarManifestMojo
All Implemented Interfaces:
ContextEnabled, Mojo

public class WarManifestMojo
extends AbstractWarMojo

Generate a manifest for this webapp. The manifest file is created in the warSourceDirectory.

Version:
$Id: WarManifestMojo.java 1235053 2012-01-23 23:03:53Z dennisl $
Author:
Mike Perham
Is defined by the goal name:
manifest
Is bound to the specified phase of the standard build lifecycle:
process-resources
Requires the dependencies in this specified scope:
runtime

Field Summary
 
Fields inherited from class org.apache.maven.plugin.war.AbstractWarMojo
DEFAULT_FILE_NAME_MAPPING, DEFAULT_FILE_NAME_MAPPING_CLASSIFIER, escapeString
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
WarManifestMojo()
           
 
Method Summary
 void execute()
          Executes this mojo on the current project.
 
Methods inherited from class org.apache.maven.plugin.war.AbstractWarMojo
addOverlay, buildExplodedWebapp, buildWebapp, getArchive, getArtifactFactory, getCacheFile, getClassesDirectory, getContainerConfigXML, getCurrentProjectOverlay, getDependentWarExcludes, getDependentWarIncludes, getExcludes, getFilters, getIncludes, getJarArchiver, getNonFilteredFileExtensions, getOutputFileNameMapping, getOverlays, getProject, getSession, getWarSourceDirectory, getWarSourceExcludes, getWarSourceIncludes, getWebappDirectory, getWebResources, getWebXml, getWorkDirectory, isArchiveClasses, isUseCache, setArchiveClasses, setArtifactFactory, setCacheFile, setClassesDirectory, setContainerConfigXML, setFilters, setJarArchiver, setNonFilteredFileExtensions, setOutputFileNameMapping, setOverlays, setProject, setUseCache, setWarSourceDirectory, setWarSourceExcludes, setWarSourceIncludes, setWebappDirectory, setWebResources, setWebXml, setWorkDirectory
 
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
 

Constructor Detail

WarManifestMojo

public WarManifestMojo()
Method Detail

execute

public void execute()
             throws MojoExecutionException
Executes this mojo on the current project.

Throws:
MojoExecutionException - if an error occurred while building the webapp


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.