org.apache.tomcat.maven.plugin.tomcat7.run
Class ExecWarMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
          extended by org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo
              extended by org.apache.tomcat.maven.plugin.tomcat7.run.ExecWarMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.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

Field Summary
 
Fields inherited from class org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo
artifactResolver, path, project, remoteRepos, warRunDependencies
 
Fields inherited from class org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
messagesProvider
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ExecWarMojo()
           
 
Method Summary
 
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo
execute, resolvePluginWorkDir
 
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
getPath
 
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

ExecWarMojo

public ExecWarMojo()


Copyright © 2005-2012 The Apache Software Foundation. All Rights Reserved.