org.apache.tomcat.maven.plugin.tomcat7.run
Class ExecWarMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo
org.apache.tomcat.maven.plugin.tomcat7.run.ExecWarMojo
- All Implemented Interfaces:
- ContextEnabled, Mojo
@Mojo(name="exec-war")
@Execute(phase=PACKAGE)
public class ExecWarMojo
- extends AbstractExecWarMojo
This mojo will create a self executable jar file containing all tomcat classes.
So you will be able to use only: java -jar createjar.jar to run your webapp without need
to install an Apache Tomcat instance.
More details here: http://tomcat.apache.org/maven-plugin-2.0-beta-1/executable-war-jar.html
- Since:
- 2.0
- Author:
- Olivier Lamy
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecWarMojo
public ExecWarMojo()
Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.