[
https://issues.apache.org/jira/browse/MRM-2014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17136155#comment-17136155
]
Martin Stockhammer commented on MRM-2014:
-----------------------------------------
Yes, the software works as it is. Sorry, that this does not match your
expectations:
* The repository purge consumer is only deleting artifacts for snapshot
versions ( I dont't think its a good idea to remove released versions)
* If you use retention count, you may have the retention count number of
artifacts per snapshot directory forever
If you want to get rid of all snapshot versions after some time, you have to
use the artifact age as criteria.
You can add a feature request for your use case via JIRA, if you like. And we
welcome pull requests via github, if you like to provide an implementation.
> 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-02-redacted.png, 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)