cstamas commented on PR #2176: URL: https://github.com/apache/maven/pull/2176#issuecomment-2743565841
Heuristic: ``` ModelBuilderRequest.RequestType type = pomFile != null && this.request.isProcessPlugins() && this.request.getValidationLevel() == ModelBuildingRequest.VALIDATION_LEVEL_STRICT ? ModelBuilderRequest.RequestType.BUILD_EFFECTIVE : ModelBuilderRequest.RequestType.CONSUMER_PARENT; ``` Am unsure why "process plugins" matters here, I'd rather go: `pomFile != null` (so is checkout, so to say "current project") then assume build effective, and if no file present, then assume is "remote/external". -- 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: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org