title: maven-jetty plugin not using correct paths
body: <p>I am using the jetty-maven plugin to deploy a web-app for integration testing. I have a project which consists of a two POMs. One in the root, and one in a directory in the project root (call this the webapp directory). When I run the integration test from maven (which uses the jetty-maven plugin), in  the webapp directory, it works perfectly fine. However, when I run it from the root directory, it goes inside the webapp directory and runs the test but for some reason it gets the paths wrong. (As a result, all resources cannot be found).</p>
  
  <p>It concatenates the root directory path to the webapp resources path. It also does not understand the dot operator in a path. </p>
  
  <p>For example: if it was to look for "./resources/resource.xml"</p>
  
  <p>It would work fine if the test was run from the webapp directory, however if run from the root directory it will make the path: "c:/project/./resources/resource.xml". It is the jetty-maven plugin that is doing this but I am not sure why.</p>
  
  <p>Is there a way to fix this?</p>
  
  <p>Here is relevant part of my webapp directory POM</p>
  
  <pre><code>              &lt;groupId&gt;org.mortbay.jetty&lt;/groupId&gt;
                &lt;artifactId&gt;jetty-maven-plugin&lt;/artifactId&gt;
                &lt;configuration&gt;
                     &lt;webApp&gt;${basedir}/target/webappSNAPSHOT.war&lt;/webApp&gt;
                     &lt;extraClasspath&gt;${project.build.testOutputDirectory}&lt;/extraClasspath&gt;
                     &lt;testClassesDirectory&gt;${basedir}/target/test-classes&lt;/testClassesDirectory&gt;
                     &lt;useTestClasspath&gt;true&lt;/useTestClasspath&gt;
                     &lt;stopPort&gt;9929&lt;/stopPort&gt;
                     &lt;stopKey&gt;stopKey&lt;/stopKey&gt;
  
                &lt;/configuration&gt;
  </code></pre>