title: Maven does not copy non-java files
body: <p>I have a pom.xml file with the following:</p>
  
  <pre><code>&lt;sourceDirectory&gt;${basedir}/src/main/test&lt;/sourceDirectory&gt;
  &lt;outputDirectory&gt;${basedir}/src/main/bin &lt;/outputDirectory&gt;
  </code></pre>
  
  <p>Inside <code>${basedir}/src/main/test</code> I have some folders which do not contain any .java files. When I start a compilation they are not copied to <code>${basedir}/src/main/bin</code> directory.</p>
  
  <p>Only .java files are moved (after compilation of course) and stored on the right folder.</p>
  
  <p>Can someone help me to solve this problem without using any plugin ?</p>
  
  <p>I tried with </p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;resources&gt;
          &lt;resource&gt;
              &lt;filtering&gt;false&lt;/filtering&gt;
               &lt;directory&gt;${basedir}/src/main/test/scenarios&lt;/directory&gt;
               &lt;includes&gt;
                  &lt;include&gt;*.xml&lt;/include&gt;
               &lt;/includes&gt;
               &lt;targetPath&gt;${basedir}/src/main/bin/scenarios&lt;/targetPath&gt;
          &lt;/resource&gt;
  
          &lt;resource&gt;
              &lt;filtering&gt;false&lt;/filtering&gt;
               &lt;directory&gt;${basedir}/src/main/test/sut&lt;/directory&gt;
               &lt;includes&gt;
                  &lt;include&gt;*.xml&lt;/include&gt;
               &lt;/includes&gt;
               &lt;targetPath&gt;${basedir}/src/main/bin/sut&lt;/targetPath&gt;
          &lt;/resource&gt;
  
      &lt;/resources&gt;
  </code></pre>
  
  <p>But it does not work.  What is wrong?</p>