title: Maven does not create the "/target/m2e-wtp/web-resources" folder
body: <p>I'm using Eclipse Luna. I'm working on a Maven project. When I try to run my application on a weblogic's application server, and exception is thrown with the message:</p>
  
  <pre><code>weblogic.application.ModuleException: [HTTP:101027][WebAppModule(_auto_generated_ear_:MyAppName)] Document root: "D:\MGelbana\workspace\my-app-name\target\m2e-wtp\web-resources" does not exist.
  </code></pre>
  
  <p>I looked into the project's deployment assembly configuration and found the following error message: <code>Cannot find entry: "/target/m2e-wtp/web-resources"</code></p>
  
  <p><img src="https://i.stack.imgur.com/M79E1.png" alt="enter image description here"></p>
  
  <p>So I thought Luna's default Maven installation isn't what I need to I uninstalled it and I installed M2E-WTP from this URL (<a href="http://download.eclipse.org/m2e-wtp/releases/luna/" rel="noreferrer">http://download.eclipse.org/m2e-wtp/releases/luna/</a>) but I believe I ended up with the same version and same options.</p>
  
  <p>I understand that this plugin has the option of generating this folder <code>/target/m2e-wtp/web-resources</code> which helps Eclipse to deploy an application into an application server (<code>Run on server</code> option)</p>
  
  <blockquote>
    <p>(Which is my end goal but I'm having issues with deploying
    the application with it's needed dependencies. If I generate the
    application's WAR file by <code>Install</code>ing the maven project and deploying the generated
    that WAR manually, the application works, but I need to be able to debug\run
    it on the application server using Eclipse.)</p>
  </blockquote>
  
  <p>But this folder (i.e. <code>/target/m2e-wtp/web-resources</code>) isn't created !</p>
  
  <p>In Eclipse's  <code>Maven &gt; Java EE Integration &gt; WAR project preferences &gt; Maven archiver generated files under the build directory (I checked this option)</code></p>
  
  <p>In the project-specific options, I only have a <strong>Maven</strong> menu and a <strong>Lifecycle mapping</strong> sub-menu and nothing to do with the maven archiver generating files or not !</p>
  
  <p>So how can I direct maven to output the WTP related files ?</p>
  
  <p><img src="https://i.stack.imgur.com/Vfh48.png" alt="enter image description here"></p>