title: Maven - maven-remote-resources-plugin not including all resource directories
body: <p>I have a project with multiple resource directories:</p>
  
  <pre><code>src/main/resources
  src/main/generator
  src/main/generator2
  </code></pre>
  
  <p>I declare these resource directories as following:</p>
  
  <pre><code>&lt;build&gt;
      &lt;resources&gt;
          &lt;resource&gt;
              &lt;directory&gt;${basedir}/src/main/resources&lt;/directory&gt;
          &lt;/resource&gt;
          &lt;resource&gt;
              &lt;directory&gt;${basedir}/src/main/generator&lt;/directory&gt;
          &lt;/resource&gt;
          &lt;resource&gt;
              &lt;directory&gt;${basedir}/src/main/generator2&lt;/directory&gt;
          &lt;/resource&gt;
      &lt;/resources&gt;
      ....
  &lt;/build&gt;
  </code></pre>
  
  <p>I am using <code>maven-remote-resources-plugin</code> to make these resources available in other projects. I am using this plugin as following:</p>
  
  <pre><code>&lt;build&gt;
      &lt;resources&gt;
          &lt;resource&gt;
              &lt;directory&gt;${basedir}/src/main/resources&lt;/directory&gt;
          &lt;/resource&gt;
          &lt;resource&gt;
              &lt;directory&gt;${basedir}/src/main/generator&lt;/directory&gt;
          &lt;/resource&gt;
          &lt;resource&gt;
              &lt;directory&gt;${basedir}/src/main/generator2&lt;/directory&gt;
          &lt;/resource&gt;
      &lt;/resources&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-remote-resources-plugin&lt;/artifactId&gt;
              &lt;version&gt;1.5&lt;/version&gt;
              &lt;executions&gt;
                  &lt;execution&gt;
                      &lt;goals&gt;
                          &lt;goal&gt;bundle&lt;/goal&gt;
                      &lt;/goals&gt;
                  &lt;/execution&gt;
              &lt;/executions&gt;
              &lt;configuration&gt;
                  &lt;includes&gt;
                      &lt;include&gt;**/*&lt;/include&gt;
                  &lt;/includes&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>
  
  <p>After building, all resources from all three resource directories are in the JAR. That's great. However, <code>remote-resources.xml</code> only contains the resources from <code>src/main/resources</code>. How can I fix this?</p>
  
  <p>I tried playing around with the <code>resourcesDirectory</code> configuration property, but it seems I can only set one resource directory? I could set this property as following, but this seems like an ugly hack:</p>
  
  <pre><code>&lt;configuration&gt;
      &lt;resourcesDirectory&gt;${basedir}/src/main&lt;/resourcesDirectory&gt;
      &lt;includes&gt;
          &lt;include&gt;**/*&lt;/include&gt;
      &lt;/includes&gt;
  &lt;/configuration&gt;
  </code></pre>