title: run-forked Does Not Start Jetty Server
body: <p>I added a <code>jetty-maven-plugin</code> to my build like this:</p>
  
  <pre class="lang-java prettyprint-override"><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;8.1.16.v20140903&lt;/version&gt;
      &lt;executions&gt;
          &lt;execution&gt;
              &lt;id&gt;run-jetty&lt;/id&gt;
              &lt;goals&gt;
                  &lt;goal&gt;run&lt;/goal&gt;
              &lt;/goals&gt;
              &lt;phase&gt;install&lt;/phase&gt;
              &lt;configuration&gt;
                  &lt;webAppSourceDirectory&gt;${basedir}/target/repository/&lt;/webAppSourceDirectory&gt;
                  &lt;webApp&gt;
                      &lt;contextPath&gt;/site&lt;/contextPath&gt;
                  &lt;/webApp&gt;
  
                  &lt;!-- run only --&gt;
                  &lt;scanIntervalSeconds&gt;10&lt;/scanIntervalSeconds&gt;
  
                  &lt;!-- run-forked only --&gt;
                  &lt;stopPort&gt;9099&lt;/stopPort&gt;
                  &lt;stopKey&gt;stopPlease&lt;/stopKey&gt;
                  &lt;stopWait&gt;10&lt;/stopWait&gt;
                  &lt;waitForChild&gt;false&lt;/waitForChild&gt;
              &lt;/configuration&gt;
          &lt;/execution&gt;
      &lt;/executions&gt;
  &lt;/plugin&gt;
  </code></pre>
  
  <p>When I run the surrounding Maven project, the Jetty server starts fine and I can browse the webapp at <a href="http://localhost:8080/site/" rel="nofollow noreferrer">http://localhost:8080/site/</a></p>
  
  <p>However when I replace the goal <code>run</code> with <code>run-forked</code> I get the following info in the console:</p>
  
  <pre><code>[INFO] --- jetty-maven-plugin:8.1.5.v20120716:run-forked (run-jetty) @ project ---
  [INFO] Configuring Jetty for project: maven-p2
  [INFO] Forked process started
  </code></pre>
  
  <p>However nothing gets startet at <a href="http://localhost:8080/site/" rel="nofollow noreferrer">http://localhost:8080/site/</a>. At least there is no webapp there. The OS reports a Java process on port 8080 (two actually) and something listening on 9099 (I guess the stop handler).</p>
  
  <p>I can't seem to figure out how to get <code>run-forked</code> to work as <code>run</code> (just in another JVM). I checked <a href="https://www.eclipse.org/jetty/documentation/9.4.x/jetty-maven-plugin.html#jetty-run-forked-goal" rel="nofollow noreferrer">the manual</a> for configuration I'm missing, but couldn't find anything.</p>
  
  <p><code>mvn jetty:stop</code> works, too and does <strong>not</strong> print "Jetty not running!", so there is a Jetty somewhere. Just no webapp.</p>
  
  <p>How do I get <code>run-forked</code> to start my webapp?</p>