nl.innovationinvestments.org.apache.maven.plugin.war
Class WarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
nl.innovationinvestments.org.apache.maven.plugin.war.AbstractWarMojo
nl.innovationinvestments.org.apache.maven.plugin.war.WarMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
- CheyennePackageMojo
public class WarMojo
- extends AbstractWarMojo
Build a war/webapp.
- Version:
- $Id: WarMojo.java,v 1.2 2011/03/25 09:48:42 toeukpap Exp $
- Author:
- Emmanuel Venisse
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class nl.innovationinvestments.org.apache.maven.plugin.war.AbstractWarMojo |
buildExplodedWebapp, buildWebapp, copyResources, copyResources, getClassesDirectory, getContainerConfigXML, getDependentWarExcludes, getDependentWarIncludes, getExcludes, getIncludes, getProject, getWarSourceDirectory, getWebappDirectory, getWebXml, setClassesDirectory, setContainerConfigXML, 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 |
iArchiveLib
protected boolean iArchiveLib
WarMojo
public WarMojo()
getClassifier
protected String getClassifier()
- Overload this to produce a test-war, for example.
getWarFile
protected static File getWarFile(File basedir,
String finalName,
String classifier)
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException
- Executes the WarMojo on the current project.
- Throws:
org.apache.maven.plugin.MojoExecutionException - if an error occured while building the webapp
Copyright © 2011 InnovationInvestments. All Rights Reserved.