You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Markus Karg (JIRA)" <ji...@apache.org> on 2019/06/11 08:06:00 UTC

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

Markus Karg created MNG-6676:
--------------------------------

             Summary: 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


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