You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Nodet (Jira)" <ji...@apache.org> on 2022/10/20 08:11:03 UTC

[jira] [Updated] (MNG-6676) Resume reactor build after skipped project using -pl !X -rf X combination

     [ https://issues.apache.org/jira/browse/MNG-6676?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet updated MNG-6676:
---------------------------------
    Fix Version/s: 4.0.0-alpha-2

> Resume reactor build after skipped project using -pl !X -rf X combination
> -------------------------------------------------------------------------
>
>                 Key: MNG-6676
>                 URL: https://issues.apache.org/jira/browse/MNG-6676
>             Project: Maven
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 3.6.1
>            Reporter: Markus Karg
>            Assignee: Robert Scholte
>            Priority: Major
>             Fix For: 4.0.0-alpha-1, 4.0.0-alpha-2, 4.0.0
>
>
> With huge multi-module builds sometimes it would come handy if Maven would have a "skip-this-and-resume" option. For example, you have hundreds of sub modules built fine, but one of them is heavily broken; due to your current task you want to ignore that one project just for now, and repeat the reactor build *after* the broken one. Due to the heavily long multi-hours time your already spent, you do not want to start from the beginning.
> A nice syntax for this would be the combination "-pl !X -rf X" which means: "Resume *after* X".
> At the moment this is not working, as "-pl X" removes X from the project list, so "-rf X" says it cannot find X. The fix should be that "-pl X" *keeps* X on the project list but marks it explicitly as *SKIPPED*, so "-rf X" *finds* X, but detects that it is to be SKIPPED, so it resumes with the next-in-list.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)