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

@Mojo(name="manifest",
      defaultPhase=PROCESS_RESOURCES,
      threadSafe=true,
      requiresDependencyResolution=RUNTIME)
public class WarManifestMojo
extends AbstractWarMojo

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

Version:
$Id: WarManifestMojo.html 868453 2013-07-05 11:25:41Z olamy $
Author:
Mike Perham

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, isIncludeEmptyDirectories, isRecompressZippedFiles, 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–2013 The Apache Software Foundation. All rights reserved.