RE: Is maven3 repository safe for concurrent access

2011-04-15 Thread Nord, James
: 15 April 2011 21:07 To: Maven Users List Subject: Re: Is maven3 repository safe for concurrent access Thanks a real lot James : I was not aware of maven.repo.local ( although I was aware of teh setting.xml optio to specify the local repository ). We have decided to use this. 1. "which gives

Re: Is maven3 repository safe for concurrent access

2011-04-15 Thread Sony Antony
ins can do this for you (use private repository option) >> >> Otherwise use "mvn -Dmaven.repo.local=/path/to/job/specific/repo >> " >> Or set it in your settings file (which you can then specify also per job >> with -s) >> >> /james >> >>

Re: Is maven3 repository safe for concurrent access

2011-04-15 Thread Sony Antony
to/job/specific/repo > " > Or set it in your settings file (which you can then specify also per job > with -s) > > /james > > > -Original Message- > From: Sony Antony [mailto:sony.ant...@gmail.com] > Sent: 15 April 2011 20:31 > To: Maven Users List >

RE: Is maven3 repository safe for concurrent access

2011-04-15 Thread Nord, James
tings file (which you can then specify also per job with -s) /james -Original Message- From: Sony Antony [mailto:sony.ant...@gmail.com] Sent: 15 April 2011 20:31 To: Maven Users List Subject: Re: Is maven3 repository safe for concurrent access You are correct. My interest is in knowing if

Re: Is maven3 repository safe for concurrent access

2011-04-15 Thread Sony Antony
You are correct. My interest is in knowing if I can use maven under a CI/hudson environment ( with multiple seperate instances of maven running ). If there is a patch for this, can somebody please post its reference here --sony On Fri, Apr 15, 2011 at 3:23 PM, Mirko Friedenhagen wrote: > On Fr

Re: Is maven3 repository safe for concurrent access

2011-04-15 Thread Mirko Friedenhagen
On Fri, Apr 15, 2011 at 19:39, Kristian Rosenvold wrote: > > fr., 15.04.2011 kl. 11.54 -0400, skrev Sony Antony: >> Thank you Jason : >> If 3.x local repository is not safe for concurrent access, how does maven3 >>  implement parallel builds ( -T switch ) >> ( maybe they decide on teh parallelism

Re: Is maven3 repository safe for concurrent access

2011-04-15 Thread Kristian Rosenvold
fr., 15.04.2011 kl. 11.54 -0400, skrev Sony Antony: > Thank you Jason : > If 3.x local repository is not safe for concurrent access, how does maven3 > implement parallel builds ( -T switch ) > ( maybe they decide on teh parallelism by making sure that there is no > concurrent read/write access on

Re: Is maven3 repository safe for concurrent access

2011-04-15 Thread Sony Antony
Thank you Jason : If 3.x local repository is not safe for concurrent access, how does maven3 implement parallel builds ( -T switch ) ( maybe they decide on teh parallelism by making sure that there is no concurrent read/write access on teh repository *for the same* artifacts ? ) --sony On Fri, A

Re: Is maven3 repository safe for concurrent access

2011-04-15 Thread Jason van Zyl
Apache Maven 3.x does not have a local repository implementation that is safe for concurrent access. Maven 3.x is intended to be compatible with Maven 2.x in all respects. A Maven 2.x build should just work in Maven 3.x On Apr 15, 2011, at 11:13 AM, Sony Antony wrote: > I read somewhere that

Is maven3 repository safe for concurrent access

2011-04-15 Thread Sony Antony
I read somewhere that during maven 2, teh repository was not safe for concurrent access. ( If multiple maven builds access teh same repository, it might end up being corrupt ) However, Im not sure if this unsafety arose because of teh way maven2 accessed teh repository or if the repository layout