title: Eclipse project shows an unnecessary project folder that cannot be removed
body: <p>I have a Java project in Eclipse IDE for Enterprise Java Developers 2018-12 (4.10.0) built with Maven.</p>
  
  <p>For some reason the folder <code>src/test</code> shows in Project Explorer as a "project folder" (by that I mean a Eclipse project folder, not a file system folder), besides being shown in the project as a <em>source folder</em> as well. That seems unnecessary and anomalous. For example, the same does not happen with <code>src/main</code>, which appears as a source folder only:</p>
  
  <p><a href="https://i.stack.imgur.com/rpWfV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rpWfV.png" alt="enter image description here"></a></p>
  
  <p>If I try to delete the project folder <code>src/test</code>, Eclipse warns me that it contains source folders which will be deleted along with it. I actually tried it anyway once: made a copy of the files, deleted the <code>src/test</code> project folder, and then replaced the files in the disk, but when I do that, the project folder just pops back.</p>
  
  <p>Why is this happening and how can I clean it up?</p>