You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Jörg Schaible <Jo...@Elsag-Solutions.com> on 2006/08/30 13:13:11 UTC

RE: How to disable creation of cache repository under c:\Documents and Settings\user\m2\.. ?

Sharma, Jaikumar wrote on Wednesday, August 30, 2006 12:34 PM:

> Is there a way to disable creation of cache repository under
> c:\documents and setting\user\m2\... ? I have configured local
> intranet 
> repository for
> plugins and dependencies.
> 
> I want this to be downloaded everytime user runs build and
> not to cumulate
> everything on every machine under C:\Documents and Settings\user\m2\..

This is a very bad idea! The local repository must be local for every user. If multiple users share it, they will arbitrarily overwrite their snapshot versions during development and you run into major troubles.

To prevent that every user is downloading from the internet, install a proxy for Maven like:
- maven-proxy
- proximity
- archiva
and configure the clients to access this one instead of ibiblio.

- Jörg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org