DSpace/DSpace — pull request #132 by tdonohue (2012-11-16 22:05:19+00:00)
Title: DS-1392 fix: Add a new "root.basedir" property to every POM.  

This 'root.basedir' property always specifies the relative path to the root [dspace-src] directory. It is used to reference the path to the LICENSE_HEADER & build.properties file from each submodule.

It's a sort of "fancy" trick that ensures that each submodule has the correct path to files that they ALL need to reference in the [dspace-src] directory. From what I've seen online, it seems to be the "standard" way of doing this in Maven.

PLEASE NOTE -- you will notice that this does tweak how the build.properties (${filters.file}) is referenced from each submodule. I chose to do this in order to keep the LICENSE_HEADER reference & build.properties references in sync.

I've run several rebuild tests from both [dspace-src] and submodules, and this seems to all work perfectly.