Hacking my own version of Maven that'd forgive missing sub-modules

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Hacking my own version of Maven that'd forgive missing sub-modules

Paul Hammant
Class
maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder is
where "Child module <xxxxx> of <pomfile> does not exist" causes the build
to cease.  I'd like to make that optional for myself for huge-monorepo and
sparse-checkout-coolness reasons.  Is that the best place to make Maven
more forgiving for mussing modules in a multi-module project?

Background:
https://paulhammant.com/2017/02/08/further-experiments-with-expanding-contracting-monorepos/

- Paul