Re: deleting old snapshots

2018-10-19 Thread Martin
Hi Matthew, Terence, thank you Terence, this is right. These should be the necessary configuration points to get it work. The cron entry is also required, and you have to make sure that the snapshot artifact files are named, as maven creates them, e.g. archiva-checksum-3.0.0-20180409.013311-155.

Re: deleting old snapshots

2018-10-19 Thread Terence Kent
Stefaan, Matthew, I hate "works for me responses", so apologies in advance. However, we are seeing artifacts automatically removed according to our repository retention settings in our deployment and I wanted to share possibly-relevant information. We've been using Archiva version 2.2.3 in a dock

Re: deleting old snapshots

2018-10-19 Thread Martin Stockhammer
Hi Mathew, sorry resources are very limited. To help sort this out, please use version 2.2.3. There are some tickets in jira about purging. Have you checked, if the snapshots are still in the filesystem? There is an issue about the index not updated for purged files. Can you provide some logs?

Re: deleting old snapshots

2018-10-19 Thread Matthew Broadhead
https://github.com/apache/archiva/blob/9351c66bc89c65357ba72bb84982951919cbc0c4/archiva-modules/archiva-scheduler/archiva-scheduler-repository/src/main/java/org/apache/archiva/scheduler/repository/ArchivaRepositoryScanningTaskExecutor.java#L181 seems that it hasn't been implemented? On 19/10/201

Re: deleting old snapshots

2018-10-19 Thread Matthew Broadhead
yes i have activated the "repository-purge" consumer under Repository scanning -> Consumers.  maybe i also need to activate the "validate-checksums" consumer as that is the only one not enabled in my snapshot repository i have the following values: Cron Expression  0 0,30 * * * ? Days Older  30

Re: deleting old snapshots

2018-10-19 Thread Matthew Broadhead
thanks for coming back to me.  i was going to try upgrading to 2.2.3 first and then submit a JIRA.  if i can figure out how to make it work maybe i ould also suggest changes to the documentation through JIRA On 19/10/2018 13:37, Jay Vyas wrote: Hey Matt: some of us are definetly here. Archiva

Re: deleting old snapshots

2018-10-19 Thread Stefaan Dutry
According to my understanding it should be through the repository-purge consumer. (This is located under Administration > repository scanning > Consumers) Then on the repository configuration itself there are settings like "Delete Released Snapshots" and "retention count" and "days older" Unfortu

Re: deleting old snapshots

2018-10-19 Thread Jay Vyas
Hey Matt: some of us are definetly here. Archiva saved me when I couldn’t pay for nexus so, I’d definetly say there are a few others in that boat. Ufortubately nobody has responded yet. Next step if necessary would be filing a JIrA issue on the Apache organization for archiva if nobody is abl

Re: deleting old snapshots

2018-10-19 Thread Matthew Broadhead
sorry to chase but is anyone still monitoring this list?  are we supposed to move to sonatype nexus oss?  i thought apache created maven? On 08/10/2018 20:00, Matthew Broadhead wrote: i am using 2.2.0 and i have looked through all the settings but i don't understand how to automatically delete

deleting old snapshots

2018-10-08 Thread Matthew Broadhead
i am using 2.2.0 and i have looked through all the settings but i don't understand how to automatically delete old snapshots. i followed this https://stackoverflow.com/questions/12315461/how-to-configure-maven-or-apache-archiva-that-it-keeps-only-n-builds-of-an-snaps but it didn't work