Michael Osipov created MNG-7768:
-----------------------------------
Summary: Don't abuse RepositorySystemSession and other Resolver
classes in Maven Core
Key: MNG-7768
URL: https://issues.apache.org/jira/browse/MNG-7768
Project: Maven
Issue Type: Bug
Components: Core
Affects Versions: 3.9.1
Reporter: Michael Osipov
As noticed in [this PR|https://github.com/apache/maven/pull/1092]
{{maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java}}
abuses {{RepositorySystemSession}} and {{ConfigUtils}} for convenience
reasons. Those classes are unrelated and should feed from {{MavenSession}}
since they don't interact with the repo system at all.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)