title: Maven test/resources directory and integration test
body: <p>Hopefully should be a simple question...</p>
  
  <p>I have an integration test module which contains the default directory structure:</p>
  
  <pre><code>src
  |-main
  |-test
    |-java
    |-resources
  </code></pre>
  
  <p>Then within my resources directory I have an xxxx.xml and xxxx.xsd file, and I need to load these files in as part of my test:</p>
  
  <pre><code>@Test
  public void should_do_some_stuff_with_xml_and_xsd() // not actual test name
  {
     File xmlFile = new File("xxxx.xml");
     File xsdFile = new File("xxxx.xsd");
     ...
  }
  </code></pre>
  
  <p>It keeps failing trying to load the file, now I presumed it was down to me needing to give it a relative path from the project root or something. I need this test to run externally to my IDE so I can run the tests on the build server when it gets there...</p>
  
  <p>So my question is, how do I target these files?</p>