STS-2761 Fixed bug with target files where location mode was not the
same for all target locations, resulting in mvn package errors. Switched
to 3.7 for CF nightly build, and updated pom.xml files to reflect newer
target and profile.
Updated licence file in parent project to reflect 1.4.0.GA