Chapter 19. The Jetty Plugin

This chapter is currently under construction.

The Jetty Plugin extends the War Plugin, and adds tasks which you can use to deploy your web application to an embedded Jetty server.

19.1. Tasks

The Jetty plugin defines the following tasks:

Table 19.1. Jetty plugin - tasks

Task name Depends on Type
jettyRun compileTests JettyRun
jettyRunWar war JettyRunWar
jettyStop - JettyStop

19.2. Project layout

TBD

19.3. Dependency management

The Jetty plugin does not define any dependency configurations.

19.4. Convention properties

The Jetty plugin defines the following convention properties:

Table 19.2. Jetty plugin - properties

Property Type Default Value
httpPort Integer 8080
stopPort Integer null
stopKey String null