You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Max Rydahl Andersen (Jira)" <ji...@apache.org> on 2019/10/26 00:04:00 UTC

[jira] [Commented] (MNG-5760) All `-rf` to automatically resume from the last failure point

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

Max Rydahl Andersen commented on MNG-5760:
------------------------------------------

suggestion: on fail save a .mvnfail file or similar next to reactor pom and have it automatically picked up if -rf is empty.




context: https://twitter.com/maxandersen/status/1187861650365399040

> All `-rf` to automatically resume from the last failure point
> -------------------------------------------------------------
>
>                 Key: MNG-5760
>                 URL: https://issues.apache.org/jira/browse/MNG-5760
>             Project: Maven
>          Issue Type: Improvement
>          Components: Command Line
>    Affects Versions: 3.2.5
>            Reporter: Phillip Webb
>            Priority: Trivial
>
> Currently when a multi-module build fails the {{mvn}} command line prints the following error:
> {noformat}
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :some-module-name
> {noformat}
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)