Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Our Deployment Repository Directory fills our server disk with SNAPSHOTs after running hourly builds for a couple of weeks.
We have more or less a hundred applications configured in Continuum. A lot of them create assemblies with all their dependencies embedded, so each snapshot deployed eats a couple of megabytes. We also need hourly builds.
We use 'maven clean deploy' to deploy these snapshots to a dedicated Archiva snapshot repository. In Archiva, these snapshots get purged after a week, only keeping the last 2 or 3 snapshot versions.
However, continuum always installs to the local repository first, before uploading them to Archiva. This repository never gets purged. I was thinking to have Continuum use Archiva's repository directly as internal repository, but I don't know if that's safe or not. Archiva won't know these changes before it scans the repository again.
I was also looking at maven-dependency-plugin:purge-local-repository, but that's not exactly what we want. We just want to purge old snapshot versions when new snapshot versions are installed. Maybe that could be a general Maven feature, but it is especially important for Continuum.
Attachments
Issue Links
- is related to
-
CONTINUUM-1253 Allow to deploy artifact without timestamps
- Closed
-
MNG-233 ability to clean up local repository
- Closed
-
MNG-3472 configuration possibilities to limit size of local repository
- Closed
- relates to
-
CONTINUUM-782 Add a feature to allow cleaning the m2 local repo once every N days
- Closed