天天看點

How to use jetty in maven?

  1. Add jetty plugin group to setttings.xml
<settings>      
...      
<pluginGroups>      
<pluginGroup>org.mortbay.jetty</pluginGroup>      
</pluginGroups>      
...      
</settings>      

Run command mvn jetty:run