title: Eclipse: Change webapp folder in Maven pom.xml file
body: <p>Is it possible to define a different location for the webapp folder than the standard one ("/src/main/webapp/") in pom.xml? I know that you can define your web folder with</p>
  
  <pre><code>&lt;wb-resource deploy-path="/" source-path="/webapp"/&gt;
  </code></pre>
  
  <p>in a file called "org.eclipse.wst.common.component".
  The problem is when I click Maven -> Update Project, this line is overwritten with the standard</p>
  
  <pre><code>&lt;wb-resource deploy-path="/" source-path="/src/main/webapp"/&gt;
  </code></pre>
  
  <p>And then I have problems testing my project with Tomcat7 within Eclipse.
  I'm very thankful for every hint.</p>