Gregor B. Rosenauer created MNG-6060:
----------------------------------------

             Summary: better and precise error reporting when project is not 
found e.g. with -rf option
                 Key: MNG-6060
                 URL: https://issues.apache.org/jira/browse/MNG-6060
             Project: Maven
          Issue Type: Improvement
          Components: Command Line, Errors, POM, Reactor and workspace
    Affects Versions: 3.3.9
         Environment: Linux 4.6.2 with Oracle JDK 8
            Reporter: Gregor B. Rosenauer
            Priority: Trivial


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to