Create a new web application.
Add the Jetty Maven plugin.
Make this a RESTful web service.