(patch) no useful error message when M2_HOME is misconfigured during bootstrap ------------------------------------------------------------------------------
Key: MNG-2560 URL: http://jira.codehaus.org/browse/MNG-2560 Project: Maven 2 Issue Type: Bug Components: Bootstrap & Build Affects Versions: 2.1 Reporter: Dan Fabulich Attachments: patch.txt Run the bootstrap build, but configure M2_HOME to be some random directory "foo". The tests will fail as maven will be installed into foo/../maven-2.1-SNAPSHOT, but then configured to actually use "foo" as the execution directory. The attached patch modifies the BootstrapInstaller to accept a "destDir" instead of a "prefix", and then double-checks that the destDir is a validly named destination before actually running the build. This allows the build to fail clearly and fast when this common configuration error is made. The README is also updated to highlight more clearly that you *must* M2_HOME correctly in order for the build to work. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira