org.mortbay.jetty.plugin
Class JettyStartMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.mortbay.jetty.plugin.AbstractJettyMojo
          extended by org.mortbay.jetty.plugin.JettyRunMojo
              extended by org.mortbay.jetty.plugin.JettyStartMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class JettyStartMojo
extends JettyRunMojo

This goal is similar to the jetty:run goal, EXCEPT that it is designed to be bound to an execution inside your pom, rather than being run from the command line.

When using it, be careful to ensure that you bind it to a phase in which all necessary generated files and classes for the webapp will have been created. If you run it from the command line, then also ensure that all necessary generated files and classes for the webapp already exist.


Field Summary
 
Fields inherited from class org.mortbay.jetty.plugin.AbstractJettyMojo
connectors, consoleScanner, contextHandlers, contextPath, contextXml, daemon, excludedGoals, jettyXml, loginServices, PORT_SYSPROPERTY, project, projectArtifacts, reload, requestLog, scanIntervalSeconds, scanList, scanner, scannerListeners, server, skip, stopKey, stopPort, systemProperties, systemPropertiesFile, tmpDirectory, useProvidedScope, webApp
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JettyStartMojo()
           
 
Method Summary
 
Methods inherited from class org.mortbay.jetty.plugin.JettyRunMojo
checkPomConfiguration, configureScanner, configureWebApplication, execute, getClassesDirectory, getExtraScanTargets, getScanTargetPatterns, getScanTargets, getTestClassesDirectory, getWebAppSourceDirectory, getWebXml, isUseTestClasspath, restartWebApp, setClassesDirectory, setExtraScanTargets, setScanTargetPatterns, setScanTargets, setTestClassesDirectory, setUseTestClasspath, setWebAppSourceDirectory, setWebXml
 
Methods inherited from class org.mortbay.jetty.plugin.AbstractJettyMojo
applyJettyXml, configurePluginClasspath, findJettyWebXmlFile, finishConfigurationBeforeStart, getConnectors, getContextHandlers, getContextPath, getJettyConfig, getJettyXmlFiles, getLoginServices, getPluginArtifacts, getProject, getReload, getRequestLog, getScanIntervalSeconds, getScanList, getScanner, getScannerListeners, getServer, getStopKey, getStopPort, getSystemProperties, getSystemPropertiesFile, getTmpDirectory, getWebAppConfig, getWebAppXml, isDaemon, isExcluded, isPluginArtifact, isSkip, setConnectors, setContextHandlers, setContextPath, setDaemon, setJettyConfig, setLoginServices, setPluginArtifacts, setProject, setReload, setRequestLog, setScanIntervalSeconds, setScanList, setScannerListeners, setServer, setSkip, setStopKey, setStopPort, setSystemProperties, setSystemPropertiesFile, setTmpDirectory, setWebAppConfig, setWebAppXml, startConsoleScanner, startJetty
 
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

JettyStartMojo

public JettyStartMojo()


Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.