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

better and precise error reporting when project is not found e.g. with -rf option

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

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Not A Problem
    • 3.3.9
    • None
    • Linux 4.6.2 with Oracle JDK 8

    Description

      when building a multi-module project with -rf and the project is not found, Maven explodes all over your face and prints the entire POM instead of just pointing out the missing project - it does, but hides it before the POM dump so the info is easily lost:

      [ERROR] [ERROR] Could not find project to resume reactor build from: :missing-in-action vs [MavenProject: (entire POM dumped here)

      Good old make would just tell you this precise and helpful message, instead of dumping the entire makefile:
      make: *** No rule to make target 'some-nonexisting-target'. Stop.

      Please make maven a bit more user friendly when reporting errors...

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            grexe Gregor B. Rosenauer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment