gnodet commented on PR #2219: URL: https://github.com/apache/maven/pull/2219#issuecomment-2774602072
The `DefaultDependencyResolverResult` does not really respect the `@Immutable` contract which is on `Result<REQ>`. It may be better refactored in a different class that would be package protected, contains the `addDependency` and `addOutputDirectory`, while the `DefaultDependencyResolverResult` would be kept immutable. -- 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