maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6268) When a reactor build fails Maven should include -f (if used) in command line suggestion
Date Sat, 16 Feb 2019 20:16:00 GMT

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

Michael Osipov commented on MNG-6268:
-------------------------------------

Do you think you can come up with a PR for that?

> When a reactor build fails Maven should include -f (if used) in command line suggestion
> ---------------------------------------------------------------------------------------
>
>                 Key: MNG-6268
>                 URL: https://issues.apache.org/jira/browse/MNG-6268
>             Project: Maven
>          Issue Type: Improvement
>    Affects Versions: 3.5.0
>            Reporter: Andreas Sewe
>            Priority: Trivial
>             Fix For: 3.6.x-candidate
>
>
> When a reactor build fails, Maven prints out a helpful suggestion on how to resume.
> {noformat}
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :example
> {noformat}
> Unfortunately, when running {{mvn}} with {{-f}}, this suggestion is wrong; Maven will
either pick the wrong {{pom.xml}} or simply won’t find any; in either case, the {{pom.xml}}
specified with {{-f}} is *crucial* information that was left out of the suggestion.
> FYI, this is related to MNG-6028, but covers a different bit of info that IMHO should
be part of the suggestion. Hence this separate issue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message