title: How to stop Jetty server from eclipse
body: <p>I am using Eclipse with Maven. In my pom file i used following Jetty plugin to use as a deployment server. Now I have two problem</p>
  
  <ol>
  <li><p>I can run this Jetty Server from Run As > Maven Build... > jetty:run
  But I do now know how to stop this server. After closing Eclipse if i go to <a href="http://localhost:8080" rel="nofollow">http://localhost:8080</a>. then i see this jetty server still running.</p></li>
  <li><p>After deploying first project, if I start to work with second project then i can not deploy my second project on jetty. I followed the same process as before, but it does not work.</p></li>
  </ol>
  
  <p>Note: I am a new user of Maven and Jetty</p>
  
  <pre><code>&lt;plugin&gt;
          &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
          &lt;artifactId&gt;maven-jetty-plugin&lt;/artifactId&gt;
          &lt;version&gt;6.1.10&lt;/version&gt;
          &lt;configuration&gt;
                  &lt;scanIntervalSeconds&gt;10&lt;/scanIntervalSeconds&gt;
                  &lt;stopKey&gt;foo&lt;/stopKey&gt;                      
          &lt;/configuration&gt;        
  &lt;/plugin&gt;
  </code></pre>