maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Fabulich (JIRA)" <>
Subject [jira] Commented: (MNG-2560) (patch) no useful error message when M2_HOME is misconfigured during bootstrap
Date Tue, 03 Oct 2006 16:57:27 GMT
    [ ] 
Dan Fabulich commented on MNG-2560:

I've only used it on trunk...  I can try it on the -2.0.x branch today.

(I think the bootstrap doesn't work on the 2.0.4 tag because the maven release plugin automatically
modified some version numbers, which the integration tests were not expecting.)

> (patch) no useful error message when M2_HOME is misconfigured during bootstrap
> ------------------------------------------------------------------------------
>                 Key: MNG-2560
>                 URL:
>             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:
For more information on JIRA, see:


View raw message