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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0-RC1
    • Fix Version/s: None
    • Component/s: Core, Maven Compatibility
    • Labels:

      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

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jyri Kytömäki
            • Votes:
              18 Vote for this issue
              Watchers:
              17 Start watching this issue

              Dates

              • Created:
                Updated:

                Development