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

François Duchatelet commented on MNG-3472:
------------------------------------------

There are two sides on this issue:

* as the local repository is managed by maven, maven should provide some tools 
to control its size, content, ... Writing any kind of script to do some clever 
cleanup requires knowledge of repo structure.
Partial answer, the dependency:purge-local-repository plugin 
(http://maven.apache.org/plugins/maven-dependency-plugin/purge-local-repository-mojo.html).
 Maybe this one should be extended with other kind of cleanup ?

* but the triggering of the action is the responsibility of an external tool, 
such as hudson, continuum, cron, ...

François

> configuration possibilities to limit size of local repository
> -------------------------------------------------------------
>
>                 Key: MNG-3472
>                 URL: http://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 contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to