[ 
https://issues.apache.org/jira/browse/MNG-6060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16741692#comment-16741692
 ] 

Sylwester Lachiewicz commented on MNG-6060:
-------------------------------------------

With latest Maven, output is simpler:

{noformat}
[INFO] Scanning for projects...
[ERROR] Could not find project to resume reactor build from: :xx vs 
org.apache.maven:maven, org.apache.maven:maven-model, 
org.apache.maven:maven-artifact, org.apache.maven:maven-plugin-api, 
org.apache.maven:maven-builder-support, org.apache.maven:maven-model-builder, 
org.apache.maven:maven-settings, org.apache.maven:maven-settings-builder, 
org.apache.maven:maven-repository-metadata, 
org.apache.maven:maven-resolver-provider, org.apache.maven:maven-core, 
org.apache.maven:maven-slf4j-provider, org.apache.maven:maven-embedder, 
org.apache.maven:maven-compat, org.apache.maven:apache-maven @
[ERROR] Could not find project to resume reactor build from: :xx vs 
org.apache.maven:maven, org.apache.maven:maven-model, 
org.apache.maven:maven-artifact, org.apache.maven:maven-plugin-api, 
org.apache.maven:maven-builder-support, org.apache.maven:maven-model-builder, 
org.apache.maven:maven-settings, org.apache.maven:maven-settings-builder, 
org.apache.maven:maven-repository-metadata, 
org.apache.maven:maven-resolver-provider, org.apache.maven:maven-core, 
org.apache.maven:maven-slf4j-provider, org.apache.maven:maven-embedder, 
org.apache.maven:maven-compat, org.apache.maven:apache-maven -> [Help 
1]{noformat}

> 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
>              Labels: maven
>
> 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
(v7.6.3#76005)

Reply via email to