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

Fixed name snapshots are not updated even if they are marked as changing and the publication date is changed in repo

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0-RC1
    • None
    • Core, Maven Compatibility

    Description

      Snapshot releases with static name like 1.2.3-SNAPSHOT are not updated into the cache.

      Same problem is with ivy and maven remote repos.

      Here ivy example:

      Remote ivy repo contains in ivy xml:

      status="integration" publication="20081010104634"

      Cache contains (.xml):

      status="integration" publication="20081010095107"

      But ivy_resolve does not update the cache. It prints this with verbose output:

      [ivy-resolve] default: Checking cache for: dependency: org#>module;1.2.3-SNAPSHOT

      {runtime=[runtime]}
      [ivy-resolve] don't use cache for org#>module;1.2.3-SNAPSHOT: changing=true
      [ivy-resolve] local: Checking cache for: dependency: org#>module;1.2.3-SNAPSHOT{runtime=[runtime]}

      [ivy-resolve] local: module revision found in cache: org#>module;1.2.3-SNAPSHOT
      [ivy-resolve] found org#>module;1.2.3-SNAPSHOT in remote_ivy
      ...
      [ivy-resolve] :: downloading artifacts ::
      [ivy-resolve] [NOT REQUIRED] org#>module;1.2.3-SNAPSHOT!module.jar

      Attachments

        1. CacheUpdateTest2.zip
          2 kB
          Thomas Laun
        2. CacheUpdateTest.zip
          12 kB
          Sergey Shcherbakov
        3. ivysettings.xml
          6 kB
          Jyri Kytömäki

        Issue Links

          Activity

            People

              Unassigned Unassigned
              jkytomak Jyri Kytömäki
              Votes:
              15 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated: