org.apache.maven.plugin.war
public abstract class AbstractWarMojo extends AbstractMojo
Field Summary | |
---|---|
protected ArchiverManager | archiverManager
To look up Archiver/UnArchiver implementations
|
Method Summary | |
---|---|
void | buildExplodedWebapp(File webappDirectory) |
void | buildWebapp(MavenProject project, File webappDirectory)
Builds the webapp for the specified project.
|
void | copyResources(Resource resource, File webappDirectory, Properties filterProperties)
Copies webapp webResources from the specified directory.
|
void | copyResources(File sourceDirectory, File webappDirectory)
Copies webapp webResources from the specified directory.
|
File | getClassesDirectory() |
File | getContainerConfigXML() |
protected String[] | getDependentWarExcludes()
Returns a string array of the excludes to be used
when adding dependent wars as an overlay onto this war.
|
protected String[] | getDependentWarIncludes()
Returns a string array of the includes to be used
when adding dependent wars as an overlay onto this war.
|
protected String[] | getExcludes()
Returns a string array of the excludes to be used
when assembling/copying the war.
|
protected String[] | getIncludes()
Returns a string array of the includes to be used
when assembling/copying the war.
|
MavenProject | getProject() |
File | getWarSourceDirectory() |
File | getWebappDirectory() |
File | getWebXml() |
void | setClassesDirectory(File classesDirectory) |
void | setContainerConfigXML(File containerConfigXML) |
void | setProject(MavenProject project) |
void | setWarSourceDirectory(File warSourceDirectory) |
void | setWebappDirectory(File webappDirectory) |
void | setWebXml(File webXml) |
UNKNOWN: expression="${component.org.codehaus.plexus.archiver.manager.ArchiverManager}"
Parameters: project the maven project webappDirectory
Throws: java.io.IOException if an error occured while building the webapp
Parameters: resource the resource to copy webappDirectory the target directory filterProperties
Throws: java.io.IOException if an error occured while copying webResources
Parameters: sourceDirectory the source directory webappDirectory the target directory
Throws: java.io.IOException if an error occured while copying webResources
Returns: an array of tokens to exclude
Returns: an array of tokens to include
Returns: an array of tokens to exclude
Returns: an array of tokens to include