title: Maven copy resources in multi module project
body: <p>My need is pretty basic but I could not find any clean answer to it: I simply need to be able to distribute a resource in a multi-module project. </p>
  
  <p>Let us consider for example the LICENSE file, which I hereby assume to be the same for all modules. I prefer not to manually copy it into each and every module because the file could change over time. I also prefer not to statically link to resources (even if using relative paths) outside the project folder, because the modular structure can possibly change too.</p>
  
  <p>Is there any plugin that can be used to robustly guarantee that each module is given the required file? It would be equally acceptable for such copy to be obtained by exploiting the POM of the parent project or directly performed by the super project in the modular hierarchy.</p>