title: How to include resources from src/main/java
body: <p>I have a project that has resources inside the same package as some java classes. </p>
  
  <p>The project structure is something like:</p>
  
  <pre><code>src
      main
          java
              nl
                  project
                      someTitle.java
                      someTitle.css
  </code></pre>
  
  <p>In my pom.xml I have included the following snippet:</p>
  
  <pre><code>&lt;resources&gt;
      &lt;resource&gt;
          &lt;directory&gt;src&lt;/directory&gt;
          &lt;excludes&gt;
               &lt;exclude&gt;**/*.class&lt;/exclude&gt;
          &lt;/excludes&gt;
      &lt;/resource&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>When I do a [mvn clean verify] the .css-file does not get included in my war package. How come?</p>