Jetty Maven Plugin : Support for Jetty in Maven build lifecycle
Interface Summary Interface Description ConsoleReader.Listener
Class Summary Class Description AbstractForkerAbstractForker Base class for forking jetty. AbstractUnassembledWebAppMojoBase class for all goals that operate on unassembled webapps. AbstractWebAppMojoAbstractWebAppMojo Base class for common behaviour of jetty mojos. ConsoleReaderConsoleReader Reads lines from the System console and supplies them to ConsoleReader.Listeners. HelpMojoDisplay help information on jetty-maven-plugin.
mvn jetty:help -Ddetail=true -Dgoal=<goal-name>to display parameter details.
JettyEffectiveWebXmlGenerate the effective web.xml for a pre-built webapp. JettyEmbedderJettyEmbedded Starts jetty within the current process. JettyForkedChildJettyForkedChild This is the class that is executed when the jetty maven plugin forks a process when DeploymentMode=FORKED. JettyForkerJettyForker Uses quickstart to generate a webapp and forks a process to run it. JettyHomeForkerJettyHomeBaseForker Unpacks a jetty-home and configures it with a base that allows it to run an unassembled webapp. JettyRunMojoThis goal is used in-situ on a Maven project without first requiring that the project is assembled into a war, saving time during the development cycle. JettyRunWarMojoThis goal is used to assemble your webapp into a war and automatically deploy it to Jetty. JettyStartMojoThis goal is similar to the jetty:run goal in that it it starts jetty on an unassembled webapp, EXCEPT that it is designed to be bound to an execution inside your pom. JettyStartWarMojoThis goal is used to run Jetty with any pre-assembled war. JettyStopMojoThis goal stops a running instance of jetty. MavenMetaInfConfigurationMavenWebInfConfiguration WebInfConfiguration to take account of overlaid wars expressed as project dependencies and potential configured via the maven-war-plugin. MavenQuickStartConfigurationMavenQuickStartConfiguration MavenServerConnectorMavenServerConnector As the ServerConnector class does not have a no-arg constructor, and moreover requires the server instance passed in to all its constructors, it cannot be referenced in the pom.xml. MavenWebAppContextMavenWebAppContext Extends the WebAppContext to specialize for the maven environment. MavenWebInfConfigurationMavenWebInfConfiguration WebInfConfiguration to take account of overlaid wars expressed as project dependencies and potential configured via the maven-war-plugin. OverlayOverlay An Overlay represents overlay information derived from the maven-war-plugin. OverlayConfigOverlayConfig The configuration of a war overlay in a pom. OverlayManagerOverlayManager Mediates information about overlays configured in a war plugin. PluginLogPluginLog Convenience class to provide access to the plugin Log for non-mojo classes. QuickStartGeneratorRun enough of jetty in order to generate a quickstart file for a webapp. ScanPatternScanPattern Ant-style pattern of includes and excludes. ScanTargetPatternScanTargetPattern Utility class to provide the ability for the mvn jetty:run mojo to be able to specify filesets of extra files to regularly scan for changes in order to redeploy the webapp. SelectiveJarResourceSelectiveJarResource Selectively copies resources from a jar file based on includes/excludes. ServerConnectorListenerServerConnectorListener This is for test support, where we need jetty to run on a random port, and we need a client to be able to find out which port was picked. ServerListenerServerListener Listener to create a file that signals that the startup is completed. ServerSupportServerSupport Helps configure the Server instance. WarPluginInfoWarPluginInfo Information about the maven-war-plugin contained in the pom WebAppPropertyConverterWebAppPropertyConverter Converts a webapp's configuration to a properties file, and vice versa.
Enum Summary Enum Description AbstractWebAppMojo.DeploymentMode