|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
nl.innovationinvestments.org.apache.maven.plugin.war.AbstractWarMojo
public abstract class AbstractWarMojo
| Field Summary | |
|---|---|
protected org.codehaus.plexus.archiver.manager.ArchiverManager |
archiverManager
To look up Archiver/UnArchiver implementations |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
AbstractWarMojo()
|
|
| Method Summary | |
|---|---|
void |
buildExplodedWebapp(File webappDirectory)
|
void |
buildWebapp(org.apache.maven.project.MavenProject project,
File webappDirectory)
Builds the webapp for the specified project. |
void |
copyResources(File sourceDirectory,
File webappDirectory)
Copies webapp webResources from the specified directory. |
void |
copyResources(org.apache.maven.model.Resource resource,
File webappDirectory,
Properties filterProperties)
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. |
org.apache.maven.project.MavenProject |
getProject()
|
File |
getWarSourceDirectory()
|
File |
getWebappDirectory()
|
File |
getWebXml()
|
void |
setClassesDirectory(File classesDirectory)
|
void |
setContainerConfigXML(File containerConfigXML)
|
void |
setProject(org.apache.maven.project.MavenProject project)
|
void |
setWarSourceDirectory(File warSourceDirectory)
|
void |
setWebappDirectory(File webappDirectory)
|
void |
setWebXml(File webXml)
|
| 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 |
| Methods inherited from interface org.apache.maven.plugin.Mojo |
|---|
execute |
| Field Detail |
|---|
protected org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
| Constructor Detail |
|---|
public AbstractWarMojo()
| Method Detail |
|---|
public org.apache.maven.project.MavenProject getProject()
public void setProject(org.apache.maven.project.MavenProject project)
public File getClassesDirectory()
public void setClassesDirectory(File classesDirectory)
public File getWebappDirectory()
public void setWebappDirectory(File webappDirectory)
public File getWarSourceDirectory()
public void setWarSourceDirectory(File warSourceDirectory)
public File getWebXml()
public void setWebXml(File webXml)
public File getContainerConfigXML()
public void setContainerConfigXML(File containerConfigXML)
protected String[] getExcludes()
protected String[] getIncludes()
protected String[] getDependentWarExcludes()
protected String[] getDependentWarIncludes()
public void buildExplodedWebapp(File webappDirectory)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public void copyResources(org.apache.maven.model.Resource resource,
File webappDirectory,
Properties filterProperties)
throws IOException
resource - the resource to copywebappDirectory - the target directoryfilterProperties -
IOException - if an error occured while copying webResources
public void copyResources(File sourceDirectory,
File webappDirectory)
throws IOException
sourceDirectory - the source directorywebappDirectory - the target directory
IOException - if an error occured while copying webResources
public void buildWebapp(org.apache.maven.project.MavenProject project,
File webappDirectory)
throws org.apache.maven.plugin.MojoExecutionException,
IOException
project - the maven projectwebappDirectory -
IOException - if an error occured while building the webapp
org.apache.maven.plugin.MojoExecutionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||