title: How to avoid repeated matching items in Eclipse 'Open Resource'?
body: <p>The project I'm working in uses Maven and its typical standar directory layout.
  When I look for a resource with Eclipse 'Open Resource' I get these matches:</p>
  
  <p><img src="https://i.stack.imgur.com/EVUxY.jpg" alt="Eclipse Open Resource matches"></p>
  
  <p>Where I get repeated matches.
  There are only 2 XML files in filesystem.
  The one under <strong>src/</strong> and the one under <strong>target/</strong>.</p>
  
  <p>For example, the path to the src/ file is:</p>
  
  <p><strong>maindev/common/utils/persistence/src/main/resources/com/ericsson/m2m/common/utils/persistence/impl/mybatis/custom/xml/</strong></p>
  
  <p>But 'Open Resource' indicates 3 matches for the same file with relative paths:</p>
  
  <ul>
  <li>maindev/common/utils/persistence/src/...</li>
  <li>common/utils/persistence/src/...</li>
  <li>persistence/src/...</li>
  </ul>
  
  <p>Is there a way in Eclipse to avoid those repeated matches?</p>
  
  <p>Moreover, is there a way in Eclipse to indicate not to return resources for <strong>target/</strong> directories?</p>
  
  <p><strong>NOTE:</strong> I tried Wojtek O. suggestion, but still getting matches:</p>
  
  <p><img src="https://i.stack.imgur.com/xx8SF.jpg" alt="enter image description here"></p>