Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-465

Make room for new version scheme implementations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-7, 2.0.0
    • Resolver
    • None

    Description

      Since eons Resolver had the "generic" scheme implementing the Version, VersionRange and VersionConstraint API interfaces.

      Interesting fact: GenericVersionRange and GenericVersionConstraint are NOT tied in any way to GenericVersion implementation, they are happy with plain Version interface as well, they are truly "generic".

      This means, that a scheme needs really only to provide Version implementation (currently in form of GenericVersion) and a "factory" for it (currently in a form of GenericVersionScheme).

      Refactor a bit, and make room for alternate Version implementations.

      Fact: the change can be done in source and binary compatible way, and is enforced by japicmp.

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: