---
title: "How to use jetty in maven?"
author: "stingh711"
date: "2008-10-28T11:42:00Z"
tags: ["ASP", "HTML", "XML", "maven"]
slug: "how-to-use-jetty-in-maven"
draft: false
lastmod: "2008-10-28T11:42:00Z"
id: 334232
url: "https://pure-blogging.iteye.com/blog/334232"
---

1. Add jetty plugin group to setttings.xml
   
   ```
   <settings>
   ```
   
   ```
   ...
   ```
   
   ```
       <pluginGroups>
   ```
   
   ```
           <pluginGroup>org.mortbay.jetty</pluginGroup>
   ```
   
   ```
       </pluginGroups>
   ```
   
   ```
   ...
   ```
   
   ```
   </settings>
   ```
2. Run command mvn jetty:run