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

2011-10-05 Thread Lo-Tan (JIRA)

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

Lo-Tan commented on MNG-3472:
-

I also think this should be a configured responsibility of Maven.  Maven is the 
only client that knows how the repository should look, especially if it ever 
evolves and changes the structure.  Leaving it up to external tools could 
corrupt repositories.  I know right now the repository is straight forward, but 
still.  The tool that generated it should know how to handle it.

> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira




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

2010-10-29 Thread Brian Levine (JIRA)

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

Brian Levine commented on MNG-3472:
---

Wow.  I'm really surprised at the responses here.  While it is true that CI 
systems could provide tools to clean out Maven local repos, this doesn't do 
much for the individual developer who finds that all of a sudden, his dev 
machine has run out of disk space.  This seems like a perfect example of 
something that should be configurable in settings.xml with a default value that 
is fairly small.  On a personal development machine especially, I see no reason 
why you'd want to keep old snapshot artifacts.  I will post something to the 
mailing list to get this issue re-opened.

> 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




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

2010-02-10 Thread Wendy Smoak (JIRA)

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

Wendy Smoak commented on MNG-3472:
--

This issue is closed, so nothing is likely to change unless someone brings it 
up on the mailing list for discussion.

Continuum already has a local repository purge feature.  Perhaps that code 
could be turned into a separate utility/daemon.

> 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




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

2010-02-10 Thread JIRA

[ 
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




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

2009-12-06 Thread Paul Benedict (JIRA)

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

Paul Benedict commented on MNG-3472:


I do not think this is Maven's responsibility in the slightest. Rather, it 
should be the responsibility of CI tools like Hudson or Continuum to clear out 
older contents; I would make an RFE over at those projects. As a last resort, 
you have help from your operating system: disk quotas and custom batch 
processes.

> configuration possibilities to limit size of local repository
> -
>
> Key: MNG-3472
> URL: http://jira.codehaus.org/browse/MNG-3472
> Project: Maven 2
>  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




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

2009-12-06 Thread Matthew Corby-Eaglen (JIRA)

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

Matthew Corby-Eaglen commented on MNG-3472:
---

I too think this should be maven's responsibility. Why has this bug / feature 
request been dismissed out of hand?

If you had a disk logger or any piece of software creating a tonne of garbage 
on your system, you would expect to have a setting or switch which would allow 
you to control the amount it creates.  

As it is, we have to create scripts to delete the repo, or parts of it, every 
so often, which is a royal pain. To me, it does not matter where the repo sits, 
I just cannot have it growing unchecked.

Please reopen this issue, and listen to the community.

> configuration possibilities to limit size of local repository
> -
>
> Key: MNG-3472
> URL: http://jira.codehaus.org/browse/MNG-3472
> Project: Maven 2
>  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




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

2009-03-12 Thread Kariem Hussein (JIRA)

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

Kariem Hussein commented on MNG-3472:
-

I have to agree with Andrus and David. The question is not how to configure 
maven to point to a local repository, but to configure maven to manage the 
space used by the local repository. The repository is maven's responsibility 
and should not be handled by external tools.

As can be seen from the linked issue CONTINUUM-1693 (referring to 
CONTINUUM-782), projects relying on maven have to build workarounds to handle 
this.

What can be done to raise awareness and reopen this ticket? What is needed to 
include something like this?

> configuration possibilities to limit size of local repository
> -
>
> Key: MNG-3472
> URL: http://jira.codehaus.org/browse/MNG-3472
> Project: Maven 2
>  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




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

2008-11-10 Thread Andrus Adamchik (JIRA)

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

Andrus Adamchik commented on MNG-3472:
--

I take issue with Brett's initial comment: "I think this is best handled by 
external tools."... On a local machine Maven is *the* tool to manage 
repository. At least the way things stand now... I guess since the issue got 
closed, the easiest solution in the spirit of open source would be to write 
some kind of a "maven-vacuum-repo-plugin"  (something I may end up doing, but 
no time guarantees)...

> configuration possibilities to limit size of local repository
> -
>
> Key: MNG-3472
> URL: http://jira.codehaus.org/browse/MNG-3472
> Project: Maven 2
>  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




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

2008-11-10 Thread David Greenberg (JIRA)

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

David Greenberg commented on MNG-3472:
--

Andrus is right.  The local repository is fundamentally tied to the Maven tool; 
therefore, Maven should manage it.  A plugin would do the job, but I think 
there is more to this than simply scrubbing the repository periodically.  I 
would be concerned that cleaning the local repo would eventually slow down 
builds.  After all, why have a local repo if it doesn't make the build process 
more efficient?  What would be really great is a way for Maven to determine 
which dependencies are used most often.  Then, it could keep those while 
cleaning up the rest.  Whatever extension to Maven that does this should clean 
the repo before downloading any new files.  That way, when a critical bug fix 
needs to be built and tested, the developer or build server is not waiting 
forever for the local repo sweep to finish.  It may make each build just 
slightly longer, but it would prevent bottlenecks.

Just my two cents...and I understand that I should just build it instead of 
complaining about it.  I'll see what I can do.

> configuration possibilities to limit size of local repository
> -
>
> Key: MNG-3472
> URL: http://jira.codehaus.org/browse/MNG-3472
> Project: Maven 2
>  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




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

2008-08-20 Thread Benjamin Bentmann (JIRA)

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

Benjamin Bentmann commented on MNG-3472:


bq. it is always helpful to summarize or at least link to the specific text 
that is relevant to the problem. 
The [Settings Reference|http://maven.apache.org/settings.html#Simple_Values] 
describes the {{}} element which can be used to specify a 
custom path for the local repo.

> configuration possibilities to limit size of local repository
> -
>
> Key: MNG-3472
> URL: http://jira.codehaus.org/browse/MNG-3472
> Project: Maven 2
>  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




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

2008-08-20 Thread David Greenberg (JIRA)

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

David Greenberg commented on MNG-3472:
--

Joerg, would you please expand upon what you mean by not keeping the local repo 
in the profile?  While I'm sure the "documentation" has plenty of information, 
it is always helpful to summarize or at least link to the specific text that is 
relevant to the problem.

I also would have voted for this, as 14GB mysteriously disappeared from my 
server over time until I thought to look at the local repo.  An external tool 
would be fine; does one exist that fixes precisely this problem?

> configuration possibilities to limit size of local repository
> -
>
> Key: MNG-3472
> URL: http://jira.codehaus.org/browse/MNG-3472
> Project: Maven 2
>  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




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

2008-08-01 Thread Joerg Schaible (JIRA)

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

Joerg Schaible commented on MNG-3472:
-

Maybe you should simply start reading docs for the Maven settings. *I* am sure 
that quite a lot of people do not keep the local repo in their profile ... ;-)

> configuration possibilities to limit size of local repository
> -
>
> Key: MNG-3472
> URL: http://jira.codehaus.org/browse/MNG-3472
> Project: Maven 2
>  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




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

2008-08-01 Thread Georgios Skempes (JIRA)

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

Georgios Skempes commented on MNG-3472:
---

Unfortunately this issue was closed, otherwise I would have voted. I think 
every software should address the problems it creates. Pointing to external 
tools is not a solution. A software cannot assume that disk space is limitless 
available.

Because of many configuration changes yesterday, my windows profile was grown 
up to a size of 16 GB. I didn't notice. Since the profile is stored on the 
server, it will take more than 4.5 hours to login today (the network works only 
at 10 Mbit).

Please reopen this issue and provide a solution. I'm sure you would a favor to 
many people.

> configuration possibilities to limit size of local repository
> -
>
> Key: MNG-3472
> URL: http://jira.codehaus.org/browse/MNG-3472
> Project: Maven 2
>  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