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

Improve javadoc around version ranges

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.1
    • 2.0.2
    • Resolver
    • None

    Description

      Currently the javadoc at https://github.com/apache/maven-resolver/blob/362a43675f01b8bb3d85d7b0ff76a21d57de6fee/maven-resolver-api/src/main/java/org/eclipse/aether/RepositorySystem.java#L88C24-L88C43 is not clear how the actual version range is being passed to the VersionRangeRequest.
      Only when looking at the example it became clear that the bound Artifact supports version ranges as well.

      However none of the javadoc of https://github.com/apache/maven-resolver/blob/master/maven-resolver-api/src/main/java/org/eclipse/aether/artifact/Artifact.java#L57 clarifies that version ranges are supported. Also the format of the version range is never explained (I understood this is depending on the underlying provider).

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: