Following up on MNG-4660 (Use of --resume-from in multi-module project
fails with missing inter-module dependencies), Martin Kanters and I have
been working to make resuming a build even easier by introducing
--resume. In fact, this is not our own idea, it has been in JIRA for
quite a few years already (MNG-5760). We've thoroughly discussed the
approach and the solution with Robert Scholte.
When a build fails and it would make sense to resume the build, Maven
would write a new file target/resume.properties and fill it with the
exact groupId:artifactId and a list of projects that can be skipped in
the resuming build. The latter is there because the failing build may
have been a parallel one, or it may have had --fail-at-end; as a result,
some modules in the build may have been built successfully.