[
https://issues.apache.org/jira/browse/MRM-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136097#comment-17136097
]
Martin Stockhammer commented on MRM-2014:
-----------------------------------------
Do you have some examples of artifacts that are not deleted?The example image
shows only version folders but not artifacts.
For clarification, about how the repository purge consumer works:
* it is deleting only snapshot artifacts who''s filenames match the maven
snapshot format
* it is counting the *unique snapshot versions per version directory*
if there are more unique snapshot versions than the retention count values
it selects the oldest snapshot versions for deletion
all artifacts and related files, that have the selected snapshot version in its
name, are deleted
* it does not delete version directories
A unique snapshot version looks like this: axis2-1.3-20070725.210059-1.pom
> not purging old versions higher than retention count
> ----------------------------------------------------
>
> Key: MRM-2014
> URL: https://issues.apache.org/jira/browse/MRM-2014
> Project: Archiva
> Issue Type: Bug
> Components: repository scanning
> Affects Versions: 2.2.4
> Environment: archiva 2.2.4
> ubuntu 16.04.6 LTS
> Reporter: Jason Grammenos
> Assignee: Martin Stockhammer
> Priority: Minor
> Attachments: archiva-redacted.xml, archiva_issue.png,
> archiva_issue1.png
>
>
> I have archiva configured with a retention count of 15.
> And days older of 0
> But archiva is not purging out old versions from some folders inside the
> repository.
> This appears to be a bug or there is something about how archiva is
> configured that would prevent it from removing those artifacts/versions.
>
> the repository purge consumer is enabled
> checking the logs, show that some purges where performed, but none have been
> performed in a log time.
>
> images attached of current config, and part of the a artifact showing more
> than 15 versions.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)