title: Sharing common resources between non-JAR maven projects
body: <p>I have several Maven projects, say <code>a</code>,<code>b</code>,<code>c</code>, inheriting from a single parent (let's call it <code>parent</code>), and also being modules (of a different project than <code>parent</code>, let's call it <code>super</code>).</p>
  
  <p>These projects all have a <code>pom</code> packaging. Each of these projects has specific configuration, but they also have a common part. To be more speficic, each project two JMeter test configuration files: one specialized for the given project, and another one that is common and identical for all projects.</p>
  
  <p><strong>The problem is - how should I configure the POMs so this common config file is shared among the projects?</strong></p>
  
  <p>A workaround would be to merge all of them into <code>super</code>, and use profiles. However, in this case, I would have to do a separate build for each configuration manually (whereas now I can just build <code>super</code>).</p>
  
  <p>There are similar questions, like <a href="https://stackoverflow.com/questions/2247199/share-test-resources-between-maven-projects">this one</a>, but they deal with the <code>jar</code> plugin, which is not relevant for this case.</p>
  
  <p>Structure, for reference:</p>
  
  <ul>
  <li><p>POM Inheritance:</p>
  
  <pre><code>    parent
        |
  -------------
  |     |     |
  a     b     c
  </code></pre></li>
  <li><p>File structure:</p>
  
  <pre><code>super
  |
  |-a
  |
  |-b
  |
  |-c
  </code></pre></li>
  </ul>