@Mojo(name="run", requiresDependencyResolution=TEST, threadSafe=true) @Execute(phase=PROCESS_CLASSES) public class RunMojo extends AbstractRunMojo
aliases, artifactFactory, artifactResolver, backgroundProcessorDelay, classLoaderClass, contextFile, contextReloadable, hostName, mavenFileFilter, project, session, skip, useBodyEncodingForURI, useSeparateTomcatClassLoadermessagesProvider, path, settingsROLE| Constructor and Description |
|---|
RunMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected Context |
createContext(Embedded container)
Gets the context to run this web application under for the specified embedded Tomcat.
|
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.
|
execute, getArtifact, getPath, getProjectArtifacts, getTomcatClassLoader, isContextReloadable, isWarcheckTomcatResponsegetLog, getPluginContext, setLog, setPluginContextprotected Context createContext(Embedded container) throws IOException, org.apache.maven.plugin.MojoExecutionException
createContext in class AbstractRunMojocontainer - the embedded Tomcat container being usedorg.apache.maven.plugin.MojoExecutionExceptionIOException - if the context could not be createdprotected WebappLoader createWebappLoader() throws IOException, org.apache.maven.plugin.MojoExecutionException
createWebappLoader in class AbstractRunMojoorg.apache.maven.plugin.MojoExecutionExceptionIOException - if the webapp loader could not be createdprotected File getDocBase()
getDocBase in class AbstractRunMojoprotected File getContextFile() throws org.apache.maven.plugin.MojoExecutionException
getContextFile in class AbstractRunMojoorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2005–2014 The Apache Software Foundation. All rights reserved.