[ 
https://issues.apache.org/jira/browse/MNG-6182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hervé Boutemy updated MNG-6182:
-------------------------------
    Description: 
In order to implement MNG-4463 in Maven 3.5.1, the {{ModelResolver}} interface 
needs to be enhanced: we need a new method that can use a version range, like 
the one that was done for parent resolution
{code:java}    ModelSource resolveModel( Dependency dependency )
        throws UnresolvableModelException;{code}

We will do that in Maven 3.5.0, but will not use any of the new methods. When 
e.g. IDE integrators upgrade to Maven 3.5.0, they will need to enhance their 
implementations as of Maven 3.5.0 instead of Maven 3.5.1. This way we can avoid 
adding methods to public interfaces in a patch release Maven 3.5.1 and have a 
Maven 3.5.0 public API prepared for everything planned for 3.5.x.


  was:
In order to implement MNG-4463 in Maven 3.5.1, the {{ModelResolver}} interface 
needs to be enhanced. We will do that in Maven 3.5.0, but will not use any of 
the new methods. When e.g. IDE integrators upgrade to Maven 3.5.0, they will 
need to enhance theire implementations as of Maven 3.5.0 instead of Maven 
3.5.1. This way we can avoid adding methods to public interfaces in a patch 
release Maven 3.5.1 and have a Maven 3.5.0 public API prepared for everything 
planned for 3.5.x.



> ModelResolver interface enhancements. 
> --------------------------------------
>
>                 Key: MNG-6182
>                 URL: https://issues.apache.org/jira/browse/MNG-6182
>             Project: Maven
>          Issue Type: New Feature
>            Reporter: Christian Schulte
>            Assignee: Christian Schulte
>            Priority: Trivial
>             Fix For: 3.5.0-alpha-2
>
>
> In order to implement MNG-4463 in Maven 3.5.1, the {{ModelResolver}} 
> interface needs to be enhanced: we need a new method that can use a version 
> range, like the one that was done for parent resolution
> {code:java}    ModelSource resolveModel( Dependency dependency )
>         throws UnresolvableModelException;{code}
> We will do that in Maven 3.5.0, but will not use any of the new methods. When 
> e.g. IDE integrators upgrade to Maven 3.5.0, they will need to enhance their 
> implementations as of Maven 3.5.0 instead of Maven 3.5.1. This way we can 
> avoid adding methods to public interfaces in a patch release Maven 3.5.1 and 
> have a Maven 3.5.0 public API prepared for everything planned for 3.5.x.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to