You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Eric Dalquist (JIRA)" <ji...@codehaus.org> on 2012/08/21 19:30:25 UTC

[jira] (MNG-3472) configuration possibilities to limit size of local repository

    [ https://jira.codehaus.org/browse/MNG-3472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=306674#comment-306674 ] 

Eric Dalquist commented on MNG-3472:
------------------------------------

It is unfortunate that this issue is marked as won't-fix. We run into this problem all the time and are starting to feel lots of pain around managing local repositories. Having some way to:
* Purge all but the X newest snapshots of a version
* Purge snapshots where a release exists in the local repo

Is really critical, for now we'll be doing this via scripts which I'll try to post back here but of course the danger is the local repository meta data may be left in an invalid state since we'll just be deleting files.
                
> configuration possibilities to limit size of local repository
> -------------------------------------------------------------
>
>                 Key: MNG-3472
>                 URL: https://jira.codehaus.org/browse/MNG-3472
>             Project: Maven 2 & 3
>          Issue Type: Improvement
>          Components: Settings
>    Affects Versions: 2.0.8
>            Reporter: manuel aldana
>
> it would be great to make repository-size configurable, for instance by setting the maximum number of downloads of a snapshot-version to be kept. thus the explosion of local repository size can be reduced.
> especially when you are working with many in-house multi-module projects which are marked as snapshots before released , can increase repository size significantly.
> see mailing-list discussion: http://www.nabble.com/limit-size-of-local-repository%2C-limit-number-of-snapshots-td16147475s177.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira