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

Add `-r/--resume` to automatically resume from the last failure point

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 3.2.5
    • 4.0.0-alpha-2, 4.0.0
    • Command Line
    • None

    Description

      Currently when a multi-module build fails the mvn command line prints the following error:

      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :some-module-name
      

      Since I almost always want to use this flag with the next build it would be very useful if you could type mvn <goals> -rf and have the project name inferred from the last failure rather than needing to copy/paste from the terminal.

      Attachments

        Issue Links

          Activity

            People

              rfscholte Robert Scholte
              philw Phillip Webb
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m