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

2019-08-17 Thread Paul Hammant
Nice, thanks :)

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

2019-08-17 Thread Romain Manni-Bucau
Hello Paul, 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. See https://maven.apache.org/ref/3.5.0/apidocs/org/apache/maven/Abst

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

2019-08-17 Thread Paul Hammant
Class maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder is where "Child module of 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 forgivin