Need to wait until m2 has built in support to reach into a modules
parent before we can centralize the legal files. Trying to add
things like ../../LICENSE.txt into a module will only cause
environments like Continuum to break or to behave differently.
The alternatives are to setup a special legal-files resources bundle
module, which all modules can depend on, unpack and extract... but
that kinda sucks. Or use URLs for the files.... though that just
makes the build more prone to fail and moves farther away from having
everything for the build controlled in svn... so I don't really
recommend that either.
I'd leave it in each module for now, and then once m2 has built in
support to reach into parent modules we can revisit.
--jason
On Oct 22, 2006, at 12:35 PM, Jacek Laskowski wrote:
Hi,
I'd like to use tools-maven-plugin to include the legal files
(LICENSE, NOTICE, DISCLAIMER). How should I configure the plugin to
place these files in one location only, in a top-level module? What I
could achieve so far was to place these files in a module's main
directory, but I'd rather not keep'em in every module, but in a
top-level module only.
Jacek
--
Jacek Laskowski
http://www.jaceklaskowski.pl