Uploaded image for project: 'Ivy'
  1. Ivy
  2. IVY-1264

ibiblio resolver does not download source from local Maven repository

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: 2.2.0
    • Fix Version/s: None
    • Component/s: Maven Compatibility
    • Labels:
      None

      Description

      Resolvers are as follows:

      <resolvers>
      <chain name="main" returnFirst="true">
      <ibiblio name="local-maven2" m2compatible="true" root="file:///c:/Users/<username>/.m2/repository" />
      <ibiblio name="public" m2compatible="true" root="http://<artifactory>/artifactory/libs-releases" />
      </chain>
      </resolvers>

      When artifacts are discovered using the "public" resolver, source (if published) is downloaded automatically. However when using the "local-maven2" resolver no source is copied.

      This appears to be the issue:

      [ivy:retrieve] maven-metadata not available: file:/c:/Users/<username>/.m2/repository/com/example/test/1.1-SNAPSHOT/maven-metadata.xml

      In this case there is no maven-metadata.xml, there is only a maven-metadata-local.xml

        Attachments

        1. IVY-1264-1
          10 kB
          Mike Pettypiece

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                mtpettyp Mike Pettypiece
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: