org.mortbay.jetty.plugin
Class AbstractJettyRunMojo
java.lang.Object
AbstractMojo
org.mortbay.jetty.plugin.AbstractJettyMojo
org.mortbay.jetty.plugin.AbstractJettyRunMojo
- Direct Known Subclasses:
- Jetty6RunMojo
- public abstract class AbstractJettyRunMojo
- extends AbstractJettyMojo
AbstractJettyRunMojo
Base class for all jetty versions for the "run" mojo.
- See Also:
- Serialized Form
Methods inherited from class org.mortbay.jetty.plugin.AbstractJettyMojo |
applyJettyXml, createServer, findJettyWebXmlFile, finishConfigurationBeforeStart, getConfiguredConnectors, getConfiguredRequestLog, getConfiguredUserRealms, getContextPath, getJettyXmlFileName, getOverrideWebXml, getProject, getScanIntervalSeconds, getScanList, getScanner, getScannerListeners, getServer, getSystemProperties, getTmpDirectory, getWebApplication, getWebDefaultXml, setScanList, setScannerListeners, setServer, setWebApplication, startJetty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJettyRunMojo
public AbstractJettyRunMojo()
getWebXml
public String getWebXml()
getJettyEnvXml
public String getJettyEnvXml()
getClassesDirectory
public File getClassesDirectory()
getWebAppSourceDirectory
public File getWebAppSourceDirectory()
setWebXmlFile
public void setWebXmlFile(File f)
getWebXmlFile
public File getWebXmlFile()
getJettyEnvXmlFile
public File getJettyEnvXmlFile()
setJettyEnvXmlFile
public void setJettyEnvXmlFile(File f)
setClassPathFiles
public void setClassPathFiles(List list)
getClassPathFiles
public List getClassPathFiles()
getExtraScanTargets
public List getExtraScanTargets()
setExtraScanTargets
public void setExtraScanTargets(List list)
execute
public void execute()
throws MojoExecutionException,
MojoFailureException
- Run the mojo
- Overrides:
execute
in class AbstractJettyMojo
- Throws:
MojoExecutionException
MojoFailureException
- See Also:
org.apache.maven.plugin.Mojo#execute()
checkPomConfiguration
public void checkPomConfiguration()
throws MojoExecutionException
- Verify the configuration given in the pom.
- Specified by:
checkPomConfiguration
in class AbstractJettyMojo
- Throws:
MojoExecutionException
- See Also:
AbstractJettyMojo.checkPomConfiguration()
configureWebApplication
public void configureWebApplication()
throws Exception
- Description copied from class:
AbstractJettyMojo
- Subclasses should invoke this to setup basic info
on the webapp
- Overrides:
configureWebApplication
in class AbstractJettyMojo
- Throws:
Exception
configureScanner
public void configureScanner()
- Specified by:
configureScanner
in class AbstractJettyMojo
Copyright © {inceptionYear}-2007 Mort Bay Consulting. All Rights Reserved.