Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.6.1
-
None
Description
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.