allow option for Make Reactor Mode to avoid cd-ing to toplevel
--------------------------------------------------------------

                 Key: MNG-4258
                 URL: http://jira.codehaus.org/browse/MNG-4258
             Project: Maven 2
          Issue Type: New Feature
    Affects Versions: 2.2.0
            Reporter: Jörg Hohwiller


With MNG-2576 the Make Reactor Mode was invented.
However stated in MNG-3377 there is some disappointment about the solution:
<cite>
... ask what's first maven users typical experience:
You do "mvn install" on some module. Then maven starts working and says "oh, I 
need <foo> to be installed first".
Then you "cd" around to <foo> and do "mvn install" and maven says "oh, I need 
<bar> to be installed first".
In the end the users says "hey, why do I have to do all this, if maven has all 
information available in my POMs?
...
However this can already be done with "--also-make-dependents" but maybe not in 
a way
that users typically work.
</cite>

So what I suggest is that if "-amd" is specified without "-pl" then this is the 
same
as cd ../../.... (or whatever up to root) and then doing
mvn -amd -pl foo/bar/.... (all the way back)
You might also prefer adding a new option for that.

-- 
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


Reply via email to