This is not currently configurable. Most people have a corporate repository where they download their artifacts from, and so simply deleting ~/.m2 is less painful than if you are just downloading direct from the Internet.
I know people have discussed scripts to clear out their repo (eg find latest snapshot and delete the rest) on this list but I don't have a link to Nabble for one of them. If you search, you can probably find one or more of them. But they may not work on your platform (eg script is bash or korn and you're on Windows). Wayne On 3/19/08, aldana <[EMAIL PROTECTED]> wrote: > > hi, > > is it possible to limit the size of local repository? especially keeping all > snapshots of a version in my view often is not neccessary. so a setting, > where the maximum number of snapshots can be set (others would then be > discarded) would be nice. > > currently we sometimes get very annoying problems that roaming-win xp > profiles get crashed because maven local repository takes too much space. > > the workaround to regularly delete local repository does not seem a good > solution to me.... > > do others face similar problems? > > > ----- > manuel aldana > aldana((at))gmx.de > homepage: http://www.aldana-online.de > -- > View this message in context: > http://www.nabble.com/limit-size-of-local-repository%2C-limit-number-of-snapshots-tp16147475s177p16147475.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
