Re: limit size of local repository, limit number of snapshots

2008-03-20 Thread aldana

done: http://jira.codehaus.org/browse/MNG-3472


Wendy Smoak-3 wrote:
> 
> On Wed, Mar 19, 2008 at 4:52 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
>> Please do file a JIRA and reply back with the number. I'll see about
>>  implementing a plugin to help with this issue, but no guarantees. ;-)
> 
> That would be great!  We're also getting requests for cleaning up the
> local repository on CI servers such as Continuum:
> 
> http://jira.codehaus.org/browse/CONTINUUM-1693
> 
> -- 
> Wendy
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-
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-tp16147475s177p16175376.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]



Re: limit size of local repository, limit number of snapshots

2008-03-19 Thread Wendy Smoak
On Wed, Mar 19, 2008 at 4:52 PM, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Please do file a JIRA and reply back with the number. I'll see about
>  implementing a plugin to help with this issue, but no guarantees. ;-)

That would be great!  We're also getting requests for cleaning up the
local repository on CI servers such as Continuum:

http://jira.codehaus.org/browse/CONTINUUM-1693

-- 
Wendy

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: limit size of local repository, limit number of snapshots

2008-03-19 Thread Wayne Fay
Please do file a JIRA and reply back with the number. I'll see about
implementing a plugin to help with this issue, but no guarantees. ;-)

Wayne

On 3/19/08, aldana <[EMAIL PROTECTED]> wrote:
>
> yes, we got a corporate repository with archvia, which cashes dependencies,
> so it is not such a pain as waiting very long time when deleting
> .m2/repository without having a repository proxy.
>
> never the less i think that all these cleanup-scripts hanging around (cron
> or similar) are just as always a workaround which do not solve the source of
> the problem.
> me, at least as a user would like to have solved this memory-size problem
> (currently 2GB sized repository is growing larger and larger just because of
> snapshots) by maven2 itself.
>
> i think i will go to open a jira issue for that, so setting the number of
> snapshots kept in local repository can be configured.
>
>
> Wayne Fay wrote:
> >
> > 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]
> >
> >
> >
>
>
> -
> 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-tp16147475s177p16163260.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]



Re: limit size of local repository, limit number of snapshots

2008-03-19 Thread aldana

yes, we got a corporate repository with archvia, which cashes dependencies,
so it is not such a pain as waiting very long time when deleting
.m2/repository without having a repository proxy. 

never the less i think that all these cleanup-scripts hanging around (cron
or similar) are just as always a workaround which do not solve the source of
the problem. 
me, at least as a user would like to have solved this memory-size problem
(currently 2GB sized repository is growing larger and larger just because of
snapshots) by maven2 itself.

i think i will go to open a jira issue for that, so setting the number of
snapshots kept in local repository can be configured.


Wayne Fay wrote:
> 
> 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]
> 
> 
> 


-
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-tp16147475s177p16163260.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]



Re: limit size of local repository, limit number of snapshots

2008-03-19 Thread Wayne Fay
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]



limit size of local repository, limit number of snapshots

2008-03-19 Thread aldana

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]