Re: Hacking my own version of Maven that'd forgive missing sub-modules
Did you check maven extensions? You can rewrite the pom programmatically -
and respect maven rules whatever initial state is in the pom - without
patching maven core implementing a AbstractMavenLifecycleParticipant.
> 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?
> https://paulhammant.com/2017/02/08/further-experiments-with-expanding-contracting-monorepos/ >
> - Paul