use ModuleRevisionId instead of ModuleId in IvySettings#getResolver
-------------------------------------------------------------------

                 Key: IVY-691
                 URL: https://issues.apache.org/jira/browse/IVY-691
             Project: Ivy
          Issue Type: Improvement
          Components: Core
            Reporter: Xavier Hanin
            Assignee: Xavier Hanin


Currently to get the dependency resolver for a module one use the 
IvySettings#getResolver(ModuleId moduleId). 

Checking the current usage of this method, all callers actually have a 
ModuleRevisionId when calling the method. Using the ModuleRevisionId instead of 
the ModuleId would allow more specific resolver assignment, like resolvers 
depending on the version (this require to be careful since the version may not 
be resolved yet when asking) and also resolvers depending on extra attributes 
which open the door to many use cases.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to