title: Maven doesn't copy empty directories to webapps folder while creating war file
body: <p>I have he following structure of a maven web application</p>
  
  <p><a href="https://i.stack.imgur.com/E1aZE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E1aZE.png" alt="enter image description here"></a></p>
  
  <p>When I execute <code>mvn install</code> command it's creating war file but if you will look in <code>target directory/sureportal</code> you can easily see that lots of sub folders inside <code>webapps</code> directory are missing. What is wrong?</p>
  
  <p>pom.xml file</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;com.nokia&lt;/groupId&gt;
    &lt;artifactId&gt;sureportal&lt;/artifactId&gt;
    &lt;packaging&gt;war&lt;/packaging&gt;
    &lt;version&gt;1.0.0&lt;/version&gt;
    &lt;name&gt;sureportal Maven Webapp&lt;/name&gt;
    &lt;url&gt;http://maven.apache.org&lt;/url&gt;
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;junit&lt;/groupId&gt;
        &lt;artifactId&gt;junit&lt;/artifactId&gt;
        &lt;version&gt;3.8.1&lt;/version&gt;
        &lt;scope&gt;test&lt;/scope&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
    &lt;build&gt;
      &lt;finalName&gt;sureportal&lt;/finalName&gt;
    &lt;/build&gt;
  &lt;/project&gt;
  </code></pre>