Over the last month, Martin Kanters and myself have been working to make
it possible to execute goals on a specific module while building a
multi-module project . The pull request  enables resolving
inter-module dependencies of the whole multi-module project while
building a part of a multi-module project (by using -f or by navigating
to a subdirectory).
These changes make the following scenarios behave in a consistent way:
There are also integration tests  that demonstrate and verify this
behaviour. The changes have run through Jenkins in an earlier stage, and
are running again now that I have merged master into our feature branch.
Robert has done a first round of review and we would appreciate if
somebody else could also take a look at the proposed changes.