title: Eclipse Maven Projects get rid of wb-resource warnings
body: <p>My maven projects in Eclipse Luna are giving me this two warnings:</p>
  
  <p><strong>Broken single-root rule: Only one  element with a deploy path of "/" is allowed for a web project or an EAR project</strong></p>
  
  <p>and</p>
  
  <p><strong>Broken single-root rule: The output folder for a web project must be /WEB-INF/classes    configurations-web</strong></p>
  
  <p>This happens because the maven plugin sets the project configuration with the follow wb-resources in org.eclipse.wst.common.component </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;project-modules id="moduleCoreId" project-version="1.5.0"&gt;
      &lt;wb-module deploy-name="sample-web"&gt;
          &lt;wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/&gt;
          &lt;wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/&gt;
          &lt;wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/&gt;
          &lt;wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/&gt;
          &lt;wb-resource deploy-path="/WEB-INF/classes" source-path="/.apt_generated"/&gt;
  
          &lt;property name="context-root" value="sample"/&gt;
          &lt;property name="java-output-path" value="/sample-web/target/classes"/&gt;
      &lt;/wb-module&gt;
  &lt;/project-modules&gt;
  </code></pre>
  
  <p>How can I disable this validation to get rid of this annoying warnings?</p>