@Mojo(name="run", requiresDependencyResolution=TEST, threadSafe=true) @Execute(phase=PROCESS_CLASSES) public class RunMojo extends AbstractRunMojo
aliases, backgroundProcessorDelay, classLoaderClass, clientAuth, contextFile, contextReloadable, factory, hostName, jarScanAllDirectories, mavenFileFilter, project, propertiesPortFilePath, resolver, session, skip, trustManagerClassName, trustMaxCertLength, truststoreAlgorithm, truststoreFile, truststorePass, truststoreProvider, truststoreType, useBodyEncodingForURI, useSeparateTomcatClassLoader
messagesProvider, path, settings
ROLE
Constructor and Description |
---|
RunMojo() |
Modifier and Type | Method and Description |
---|---|
protected WebappLoader |
createWebappLoader()
Gets the webapp loader to run this web application under.
|
protected File |
getContextFile()
Gets the Tomcat context XML file to use.
|
protected File |
getDocBase()
Gets the webapp directory to run.
|
createContext, execute, getArtifact, getPath, getProjectArtifacts, getTomcatClassLoader, isContextReloadable, isWar, parseContextFile
checkTomcatResponse
getLog, getPluginContext, setLog, setPluginContext
protected File getDocBase() throws IOException
getDocBase
in class AbstractRunMojo
IOException
protected File getContextFile() throws org.apache.maven.plugin.MojoExecutionException
getContextFile
in class AbstractRunMojo
org.apache.maven.plugin.MojoExecutionException
protected WebappLoader createWebappLoader() throws IOException, org.apache.maven.plugin.MojoExecutionException
createWebappLoader
in class AbstractRunMojo
org.apache.maven.plugin.MojoExecutionException
IOException
- if the webapp loader could not be createdCopyright © 2005–2014 The Apache Software Foundation. All rights reserved.