Uploaded image for project: 'ShrinkWrap Resolvers'
  1. ShrinkWrap Resolvers
  2. SHRINKRES-177

Version range resolution fails if metadata file doesn't exist in local repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.1.1, 2.2.0-alpha-2
    • 2.1.0
    • maven
    • None

    Description

      When version range resolution in Aether can't find local metadata file, it adds an exception into exception list. Shrinkwrap-Resolver then checks if the list is empty and if it's not, it fails. And that's why the resolution doesn't work in this case.

      https://github.com/shrinkwrap/resolver/blob/master/impl-maven/src/main/java/org/jboss/shrinkwrap/resolver/impl/maven/MavenWorkingSessionImpl.java#L291-L301

      Attachments

        Activity

          People

            tkriz_jira Tadeas Kriz (Inactive)
            tkriz_jira Tadeas Kriz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: