You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Xavier RODRIGUEZ <xa...@inexbee.com> on 2003/12/17 15:59:12 UTC
RE : why repository is set per user?
I agree with you Loic!
It's quite strange, in the first releases (1.0 beta x) maven used a
global repository, shared by all the users.
Maybe it can be quite interesting to have a global repository (shared by
all the users) and also the possibility to extend it.
Xavier
[ I've wondered exactly the same way the first time I configured maven ]
Jason van Zyl <jv...@maven.org> - Wed, Dec 17, 2003:
> In the vast majority of cases Maven is used on a single machine by a
> sinlge user. But imagine a single user with 100 projects on their
> machine where many of the projects use the same JARs. You save quite a
> bit of space.
Now consider a shared repository for all users of a machine
instead. Thet would make no difference to a single user on a single
machine but that would reduce a lot the space consumption for a
multi-user machine.
A lot of other programs can already share interesting data between
users, for example the manual pages, or the bitmap rendering of fonts,
locale data, etc.
If the local repository is meant to avoid downloading a jar on each
build by an user, why wouldn't it also be capable of avoiding the
download of this jar by different users?
But I would rather prefer the maven developers to work on other
important topics, as you said: maven is mostly used on single-user
machines. And there is maven-proxy anyway for _bandwith_ saving.
--
Loïc Minier <lo...@dooz.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: RE : why repository is set per user?
Posted by "Charles N. Harvey III" <ch...@alloy.com>.
I have gotten around this with a soft link (symbolic link).
Create a directory, /usr/maven_repository/.
Then, give each user a ~/.maven directory that is a pointer
to the main repository.
I know its not the best solution, but it is pretty easy.
Or, you can specify it in the project.properties. That's
a little bit better if you don't want to be OS dependent.
Charlie
Xavier RODRIGUEZ wrote:
> I agree with you Loic!
>
> It's quite strange, in the first releases (1.0 beta x) maven used a
> global repository, shared by all the users.
> Maybe it can be quite interesting to have a global repository (shared by
> all the users) and also the possibility to extend it.
>
> Xavier
>
> [ I've wondered exactly the same way the first time I configured maven ]
>
> Jason van Zyl <jv...@maven.org> - Wed, Dec 17, 2003:
>
>
>>In the vast majority of cases Maven is used on a single machine by a
>>sinlge user. But imagine a single user with 100 projects on their
>>machine where many of the projects use the same JARs. You save quite a
>>bit of space.
>
>
> Now consider a shared repository for all users of a machine
> instead. Thet would make no difference to a single user on a single
> machine but that would reduce a lot the space consumption for a
> multi-user machine.
>
> A lot of other programs can already share interesting data between
> users, for example the manual pages, or the bitmap rendering of fonts,
> locale data, etc.
>
> If the local repository is meant to avoid downloading a jar on each
> build by an user, why wouldn't it also be capable of avoiding the
> download of this jar by different users?
>
> But I would rather prefer the maven developers to work on other
> important topics, as you said: maven is mostly used on single-user
> machines. And there is maven-proxy anyway for _bandwith_ saving.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org