@Mojo(name="exec-war", threadSafe=true) @Execute(phase=PACKAGE) public class ExecWarMojo extends AbstractExecWarMojo
java -jar mywebapp.jar
to run your webapp without
needing to install a Tomcat instance.
More details here.accessLogValveFormat, artifactFactory, artifactResolver, attachArtifact, attachArtifactClassifier, attachArtifactClassifierType, buildDirectory, connectorHttpProtocol, enableNaming, enableRemoteIpValve, excludes, extraDependencies, extraResources, finalName, httpPort, local, mainClass, path, pluginArtifacts, project, projectArtifact, projectHelper, remoteRepos, serverXml, tomcatConfigurationFilesDirectory, warRunDependencies
messagesProvider, settings
ROLE
Constructor and Description |
---|
ExecWarMojo() |
addContextXmlToWar, copyDirectoryContentIntoArchive, execute, extractJarToArchive, findArtifactVersion, resolvePluginWorkDir, sameDependencyWithoutVersion, toStringArray
checkTomcatResponse, getPath
getLog, getPluginContext, setLog, setPluginContext
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.