You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamás Cservenák (Jira)" <ji...@apache.org> on 2021/02/20 22:17:00 UTC
[jira] [Created] (MNG-7103) Make generic VersionScheme a component
Tamás Cservenák created MNG-7103:
------------------------------------
Summary: Make generic VersionScheme a component
Key: MNG-7103
URL: https://issues.apache.org/jira/browse/MNG-7103
Project: Maven
Issue Type: Task
Components: core
Reporter: Tamás Cservenák
Maven Resolver, while provides {{VersionScheme}} implementation (the {{GenericVersionScheme}} does not binds it (makes it a component) nor creates instance from it (it works against interfaces, actual implementation is left to "integration" like Maven is).
As Maven is the main "user" of GenericVersionScheme, it makes sense to bind it in Maven Realm.
Right now, instances of it are created "ad-hoc" (wherever needed) instead of being injected (and shared as singleton), as implementation is stateless/thread-safe.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)