On 22 Aug 07, at 11:29 AM 22 Aug 07, Stephen Connolly wrote:
Gregory Kick wrote:
How do you deal with concurrent writes?
That's a nightmare problem with the local repository anyway.
How on earth do you have concurrency problems with a local repository?
One team of ours had to scrap switching to Maven as it filled the
disk on their shared homes drive... and if they changed the system
default to use a common local repository they kept on getting
broken builds from two people installing the same (usually
snapshot) artifact at the same time!
Using a shared local repository is a very, very, very bad idea.
Nothing will work if you share one local repository. Again, just a
bad idea.
It's more of a problem for continuous integration servers that run
builds in parallel.
However the concurrent write problem is solved for remote
repositories, please solve it for local repositories as well!
You're not supposed to be sharing them. You CI system should be
deploying to a shared remote repository, not writing to a shared
local repository.
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder and PMC Chair, Apache Maven
jason at sonatype dot com
----------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]