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",
      threadSafe=true)
@Execute(phase=PACKAGE)
public class ExecWarMojo
extends AbstractExecWarMojo

Create a self executable jar file containing all necessary Apache Tomcat classes. This allows for using just java -jar mywebapp.jar to run your webapp without needing to install a Tomcat instance. More details here.

Since:
2.0
Author:
Olivier Lamy

Field Summary
 
Fields inherited from class org.apache.tomcat.maven.plugin.tomcat7.run.AbstractExecWarMojo
accessLogValveFormat, artifactFactory, artifactResolver, attachArtifact, attachArtifactClassifier, attachArtifactClassifierType, buildDirectory, connectorHttpProtocol, enableNaming, excludes, extraDependencies, extraResources, finalName, httpPort, local, mainClass, path, pluginArtifacts, project, projectArtifact, projectHelper, remoteRepos, serverXml, tomcatConfigurationFilesDirectory, warRunDependencies
 
Fields inherited from class org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
messagesProvider, settings
 
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
addContextXmlToWar, copyDirectoryContentIntoArchive, execute, extractJarToArchive, findArtifactVersion, resolvePluginWorkDir, sameDependencyWithoutVersion, toStringArray
 
Methods inherited from class org.apache.tomcat.maven.plugin.tomcat7.AbstractTomcat7Mojo
checkTomcatResponse, 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–2014 The Apache Software Foundation. All rights reserved.