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.
classesDirectory, DEFAULT_WEBAPP_SRC, extraScanTargets, FAKE_WEBAPP, scanTargetPatterns, scanTargets, testClassesDirectory, useTestScope, warArtifacts, warPluginInfo, webAppSourceDirectory, webXml
consoleScanner, contextHandlers, contextXml, dumpOnStart, excludedGoals, execution, httpConnector, jettyXml, loginServices, nonblocking, pluginArtifacts, PORT_SYSPROPERTY, project, projectArtifacts, reload, requestLog, scanIntervalSeconds, scanList, scanner, scannerListeners, server, skip, stopKey, stopPort, systemProperties, systemPropertiesFile, useProvidedScope, webApp
Constructor and Description |
---|
JettyStartMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
finishConfigurationBeforeStart() |
checkPomConfiguration, configureScanner, configureWebApplication, getArtifactForOverlay, restartWebApp
applyJettyXml, configureMonitor, configurePluginClasspath, findJettyWebXmlFile, getJettyXmlFiles, isExcluded, isPluginArtifact, printSystemProperties, setSystemProperties, setSystemPropertiesFile, startConsoleScanner, startJetty
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class JettyRunMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
AbstractJettyMojo.execute()
public void finishConfigurationBeforeStart() throws Exception
finishConfigurationBeforeStart
in class JettyRunMojo
Exception
Copyright © 1995-2015 Webtide. All Rights Reserved.