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.
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
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
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
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
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"
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
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
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