Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4258

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.2.0
    • None
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            joerg@j-hohwiller.de Jörg Hohwiller
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment