|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.plugin.war.AbstractWarMojo
org.apache.maven.plugin.war.WarMojo
public class WarMojo
Build a war/webapp.
| Field Summary |
|---|
| Fields inherited from class org.apache.maven.plugin.war.AbstractWarMojo |
|---|
archive, archiverManager |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
|---|
ROLE |
| Constructor Summary | |
|---|---|
WarMojo()
|
|
| Method Summary | |
|---|---|
void |
execute()
Executes the WarMojo on the current project. |
protected java.lang.String |
getClassifier()
Overload this to produce a test-war, for example. |
protected static java.io.File |
getWarFile(java.io.File basedir,
java.lang.String finalName,
java.lang.String classifier)
|
| Methods inherited from class org.apache.maven.plugin.war.AbstractWarMojo |
|---|
buildExplodedWebapp, buildWebapp, copyResources, copyResources, createJarArchive, getClassesDirectory, getContainerConfigXML, getDependentWarExcludes, getDependentWarIncludes, getExcludes, getIncludes, getOutputFileNameMapping, getProject, getWarSourceDirectory, getWebappDirectory, getWebXml, setClassesDirectory, setContainerConfigXML, setOutputFileNameMapping, setProject, setWarSourceDirectory, setWebappDirectory, setWebXml |
| 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 |
|---|
public WarMojo()
| Method Detail |
|---|
protected java.lang.String getClassifier()
protected static java.io.File getWarFile(java.io.File basedir,
java.lang.String finalName,
java.lang.String classifier)
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException - if an error occured while building the webapp
org.apache.maven.plugin.MojoFailureException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||