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

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

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 3.5.0-beta-1, 3.5.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: