Jetty Maven Plugin : Support for Jetty in Maven build lifecycle
Class Summary Class Description AbstractJettyMojoCommon base class for most jetty mojos. ConsoleScannerConsoleScanner Read input from stdin HelpMojoDisplay help information on jetty-maven-plugin.
mvn jetty:help -Ddetail=true -Dgoal=<goal-name>to display parameter details.
JettyDeployWarThis goal is used to run Jetty with a pre-assembled war. JettyEffectiveWebXmlThis goal runs the jetty quickstart feature on an unassembled webapp in order to generate a comprehensive web.xml that combines all information from annotations, webdefault.xml and all web-fragment.xml files. JettyRunDistroThis goal is used to deploy the unassembled webapp into a jetty distribution. JettyRunForkedMojoThis goal is used to deploy your unassembled webapp into a forked JVM. 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. JettyRunWarExplodedMojoThis goal is used to assemble your webapp into an exploded war and automatically deploy it to Jetty. 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, EXCEPT that it is designed to be bound to an execution inside your pom, rather than being run from the command line. JettyStopMojoThis goal stops a running instance of jetty. JettyWebAppContextJettyWebAppContext Extends the WebAppContext to specialize for the maven environment. 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. MavenWebInfConfigurationMavenWebInfConfiguration WebInfConfiguration to take account of overlaid wars expressed as project dependencies and potential configured via the maven-war-plugin. OverlayOverlay OverlayConfigOverlayConfig PluginLogPluginLog Convenience class to provide access to the plugin Log for non-mojo classes. ScanPatternScanPattern A 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. StarterStarter Class which is exec'ed to create a new jetty process. SystemPropertiesSystemProperties Map of name to SystemProperty. SystemPropertySystemProperty Provides the ability to set System properties for the mojo execution. WarPluginInfoWarPluginInfo WebAppPropertyConverterWebAppPropertyConverter Converts a webapp's configuration to a properties file, and vice versa.