You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Igor Mukhin (JIRA)" <ji...@apache.org> on 2019/07/12 07:46:00 UTC
[jira] [Created] (MRM-1992) Obsoltet snapshots not deleted
Igor Mukhin created MRM-1992:
--------------------------------
Summary: Obsoltet snapshots not deleted
Key: MRM-1992
URL: https://issues.apache.org/jira/browse/MRM-1992
Project: Archiva
Issue Type: Bug
Affects Versions: 2.2.4
Environment: Windows
Reporter: Igor Mukhin
The configuration of the repository:
{code:xml}
<managedRepository>
<location>D:\archiva-data\data\repositories\internal.snapshots</location>
<releases>false</releases>
<blockRedeployments>false</blockRedeployments>
<snapshots>true</snapshots>
<scanned>true</scanned>
<refreshCronExpression>0 6 * * * ?</refreshCronExpression>
<retentionCount>3</retentionCount>
<daysOlder>0</daysOlder>
<deleteReleasedSnapshots>false</deleteReleasedSnapshots>
<skipPackedIndexCreation>false</skipPackedIndexCreation>
<stageRepoNeeded>false</stageRepoNeeded>
<id>internal.snapshots</id>
<name>internal.snapshots</name>
<indexDir />
</managedRepository>
{code}
After a month of operation, old snapshot files are still in the repository directory. But in {{maven-metadata.xml}} correncly listed only 3 last files.
Scans run daily:
{code}
2019-07-12 08:07:17,886 [pool-3-thread-1] INFO org.apache.archiva.scheduler.repository.ArchivaRepositoryScanningTaskExecutor [] - Finished first scan:
.\ Scan of internal.snapshots \.__________________________________________
Repository Dir : D:\archiva-data\data\repositories\internal.snapshots
Repository Name : internal.snapshots
Repository Layout : default
Known Consumers : (8 configured)
create-missing-checksums
auto-remove
auto-rename
metadata-updater
repository-purge
index-content
create-archiva-metadata
duplicate-artifacts
Invalid Consumers : <none>
Duration : 1 Second 202 Milliseconds
When Gathered : 12.07.19 08:07
Total File Count : 4707
Avg Time Per File :
{code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)