slachiewicz opened a new pull request, #13353: URL: https://github.com/apache/maven/pull/13353
A parent POM that is not a reactor module was rebuilt for every child, and because reactor POM sources are request-scoped in the model cache, each rebuild re-read the whole parent chain. Children of the same parent POM now share one parent project per build session. Verified: `mvn clean -pl :parent` on 590 modules under a 4-level non-reactor parent chain → master already reads each POM once; the saved parent project rebuilds take 4.6–5.7 s → 3.6–4.5 s. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
