title: How to profile a Jetty application in a Netbeans Maven Web Project?
body: <p>I'm trying to use Jetty in a Netbeans Maven Web Project (instead of Glassfish or Tomcat). I've managed to get running and debugging to work as follows:</p>
  
  <ol>
  <li><p>Add the plugin to pom.xml:</p>
  
  <pre><code>&lt;plugin&gt;
    &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
    &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
    &lt;version&gt;7.4.4.v20110707&lt;/version&gt;
    &lt;configuration&gt;
      &lt;scanIntervalSeconds&gt;5&lt;/scanIntervalSeconds&gt;
    &lt;/configuration&gt;
  &lt;/plugin&gt;
  </code></pre></li>
  <li><p>Project Properties -> Run -> Server -> <code>&lt;No Server Selected&gt;</code></p></li>
  <li>Project Properties -> Actions -> Run Project -> Goals = <code>jetty:run</code></li>
  <li>Project Properties -> Actions -> Debug Project -> Goals = <code>jetty:run</code>, add <code>jpda.listen=maven</code> to Set Properties</li>
  </ol>
  
  <p>Any ideas on how to get the "Profile Project" action to work?</p>