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

ibiblio resolver does not download source from local Maven repository

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 2.2.0
    • None
    • Maven Compatibility
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: