[
https://issues.apache.org/jira/browse/MNG-7103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tamás Cservenák resolved MNG-7103.
----------------------------------
Resolution: Fixed
> 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
> Assignee: Tamás Cservenák
> Priority: Major
> Fix For: 4.0.x-candidate, 4.0.0-alpha-1
>
>
> 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)