[
http://jira.codehaus.org/browse/MRM-846?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=139715#action_139715
]
[EMAIL PROTECTED] commented on MRM-846:
-------------------------------------------
I also have this issue on Tomcat 6.0.16, Solaris 8, Java 1.6.0_06, Archiva
1.0.2. The following is printed to the logs during a scan
(times/directories/counts modified):
INFO org.apache.maven.archiva.repository.scanner.RepositoryScanner:default -
Walk Started: [snapshots] /correct/path/to/my/snapshots/directory
INFO org.apache.maven.archiva.repository.scanner.RepositoryScanner:default -
Walk Finished: [snapshots] /correct/path/to/my/snapshots/directory
INFO org.codehaus.plexus.taskqueue.execution.TaskExecutor:repository-scanning
- Finished repository task:
.\ Scan of snapshots \.__________________________________________
Repository Dir : /correct/path/to/my/snapshots/directory
Repository Name : My Snapshots Repository
Repository Layout : default
Known Consumers : (8 configured)
create-missing-checksums
update-db-artifact
repository-purge
index-content
metadata-updater
auto-rename
validate-checksums
auto-remove
Invalid Consumers : <none>
Duration : 5 Minutes 55 Seconds 555 Milliseconds
When Gathered : 3/14/15 9:26 PM
Total File Count : 1000000
Avg Time Per File : 2 Milliseconds
______________________________________________________________
The following are my settings for this repository (again with some values
replaced):
Identifier: asnapshotsrepo
Name My Snapshots Repository
Directory /correct/path/to/my/snapshots/directory
WebDAV URL http://correct/URL/to/my/snapshots/repository
Type Maven 2.x Repository
Releases Included
Snapshots Included
Delete Released Snapshots
Repository Purge By Days Older Than 30
Repository Purge By Retention Count 2
Scanned
Scanning Cron 0 0,30 * * * ?
Nothing fancy going on with my configuration...derby DBs, no customization of
the webapp, no errors in the logs.
Any ideas?
> "Repository Purge By Retention Count" option not working
> --------------------------------------------------------
>
> Key: MRM-846
> URL: http://jira.codehaus.org/browse/MRM-846
> Project: Archiva
> Issue Type: Bug
> Components: repository interface
> Affects Versions: 1.0.2
> Environment: Linux, JBoss, Continuum SNAPHOT (19/06/2008)
> Reporter: Marc Lustig
> Priority: Critical
>
> from http://archiva.apache.org/docs/1.0.2/adminguide/repositories.html:
> "If the repository purge by retention count field is set to 2, then only the
> artifacts artifact-x-20070113.034619-3.jar, artifact-x-20070113.034619-3.pom,
> artifact-x-20070203.028902-4.jar and artifact-x-20070203.028902-4.pom will be
> retained in the repository. The oldest snapshots will be deleted maintaining
> only a number of snapshots equivalent to the set retention count."
> This is not working here. The value for "Repository Purge By Retention Count"
> is ignored, at least for the Snapshot-managed-repo.
> Old artifacts are not deleted.
> We are building new snaphot's on hourly basis using Continuum.
> The disk-space is heavily increasing and nothing is purged.
--
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