Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-6182

ModelResolver interface enhancement: addition of resolveModel( Dependency ) supporting version ranges

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.0-beta-1, 3.5.0
    • Component/s: None
    • Labels:
      None

      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

          ModelSource resolveModel( Dependency dependency )
              throws UnresolvableModelException;

      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.

        Attachments

          Activity

            People

            • Assignee:
              schulte77 Christian Schulte
              Reporter:
              schulte77 Christian Schulte
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: