You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Maria Odea Ching (JIRA)" <ji...@codehaus.org> on 2007/11/07 10:05:36 UTC

[jira] Closed: (MRM-576) behaviour of "delete released snapshots" is incorrect

     [ http://jira.codehaus.org/browse/MRM-576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maria Odea Ching closed MRM-576.
--------------------------------

    Resolution: Fixed

Fixed in -r592657.

Changes made:
- modified logic for deleting released snapshots, delete only if there exists a released version of that snapshot not when there is a 
higher released/snapshot version
- adjusted tests



> behaviour of "delete released snapshots" is incorrect
> -----------------------------------------------------
>
>                 Key: MRM-576
>                 URL: http://jira.codehaus.org/browse/MRM-576
>             Project: Archiva
>          Issue Type: Bug
>          Components: repository scanning
>    Affects Versions: 1.0-beta-3
>            Reporter: Brett Porter
>            Assignee: Maria Odea Ching
>             Fix For: 1.0-beta-4
>
>
> problem 1) - it looks at "allVersions" instead of "releasedVersions" to get the highest released version. This means the existence of 2.1-SNAPSHOT will delete 2.0.8-SNAPSHOT, even if they are in concurrent development
> problem 2) - even the above change may not be correct - 2.0.8-SNAPSHOT may be developed after 2.1 is released.
> The logic should instead delete 2.0.8-SNAPSHOT only if 2.0.8 exists (and so on for each snapshot).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira