title: Resource from src/main/resources not found after building with maven
body: <p>Hello I'm using a configuration file from src/main/resources in my java application. I'm reading it in my Class like this :</p>
  
  <pre><code>new BufferedReader(new FileReader(new File("src/main/resources/config.txt")));
  </code></pre>
  
  <p>So now I'm building this with maven using <code>mvn assembly:assembly</code>. Here is the bit for that in my pom.xml :</p>
  
  <pre><code>&lt;plugin&gt;
                  &lt;artifactId&gt;maven-assembly-plugin&lt;/artifactId&gt;
                  &lt;version&gt;2.3&lt;/version&gt;
                  &lt;configuration&gt;
                      &lt;finalName&gt;TestSuite&lt;/finalName&gt;
                      &lt;descriptorRefs&gt;
                          &lt;descriptorRef&gt;jar-with-dependencies&lt;/descriptorRef&gt;
                      &lt;/descriptorRefs&gt;
                      &lt;archive&gt;
                          &lt;manifest&gt;
                              &lt;addClasspath&gt;true&lt;/addClasspath&gt;
                              &lt;mainClass&gt;com.some.package.Test&lt;/mainClass&gt;
                          &lt;/manifest&gt;
                      &lt;/archive&gt;
                  &lt;/configuration&gt;
              &lt;/plugin&gt;
  </code></pre>
  
  <p>So when I run my app I get this error :</p>
  
  <pre><code>src\main\resources\config.txt (The system cannot find the path specified)
  </code></pre>
  
  <p>But when I right click on my assembled jar I can see it inside, anyone knows what I'm doing wrong?</p>