ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shcherbakov (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (IVY-938) Fixed name snapshots are not updated even if they are marked as changing and the publication date is changed in repo
Date Sun, 28 Jun 2009 21:36:47 GMT

    [ https://issues.apache.org/jira/browse/IVY-938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725000#action_12725000
] 

Sergey Shcherbakov edited comment on IVY-938 at 6/28/09 2:35 PM:
-----------------------------------------------------------------

The issue remains in the 2.1.0-RC1 release.
The snapshot artifact doesn't get updated in the ivy cache.
Attached are three very simple projects that illustrate the issue.
Projects depend on each other in the following way: gamma -> beta -> alfa.
Alfa is a maven project that publishes a snapshot artifact into the maven repository.
Beta and Gamma are Ant+Ivy projects.
After you have compiled and published artifacts of these three projects once, change Alfa
and Beta projects (for example, their output), rebublish them and then build Gamma.
As you can see, the snapshot artifact from the Alfa project gets updated in cache properly,
but the Beta artifact not.

      was (Author: rothmans):
    The issue remains in the 2.1.0-RC1 release.
The snapshot artifact doesn't get updated in the ivy cache.
Attached are three very simple projects that illustrate the issue.
Projects depend on each other in the following way: gamma -> beta -> alfa.
Alfa is a maven project that publishes a snapshot artifact into the maven repository.
Beta and Gamma are Ant+Ivy projects.
After you have compiled and published artifacts of these three projects once, change Alfa
and Beta projects (for example, its output), rebublish they and then build Gamma.
As you can see, the snapshot artifact from the Alfa project gets updated in cache properly,
but the Beta artifact not.
  
> Fixed name snapshots are not updated even if they are marked as changing and the publication
date is changed in repo
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: IVY-938
>                 URL: https://issues.apache.org/jira/browse/IVY-938
>             Project: Ivy
>          Issue Type: Bug
>          Components: Core, Maven Compatibility
>    Affects Versions: 2.0-RC1
>            Reporter: Jyri Kytömäki
>         Attachments: CacheUpdateTest.zip, ivysettings.xml
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message