Maven concurrent builds

2012-03-07 Thread Guillaume Polet
Dear all, I was having some doubts regarding Maven's ability to handle properly concurrent builds. Lately, I had several builds of our project that failed and it seemed that it was due to interferences between concurrent builds of the same version of the same project. I have a jenkins

Re: Maven concurrent builds

2012-03-07 Thread Jörg Schaible
Hi Guillaume, Guillaume Polet wrote: Dear all, I was having some doubts regarding Maven's ability to handle properly concurrent builds. Lately, I had several builds of our project that failed and it seemed that it was due to interferences between concurrent builds of the same version of

Re: Maven concurrent builds

2012-03-07 Thread Srinath C
Always use a different local repositories for different projects in Jenkins. You can do this by setting the system property -Dmaven.local.repo={project_workspace_dir} Regards, Srinath. On Wed, Mar 7, 2012 at 1:59 PM, Jörg Schaible joerg.schai...@scalaris.comwrote: Hi Guillaume, Guillaume

Re: Maven concurrent builds

2012-03-07 Thread Guillaume Polet
OK, good to know. Somehow, I always assumed that Maven was actually handling concurrency safely. Too bad that we have to waste extra space to handle this, but at least there are easy workarounds. Cheers Guillaume Le 7/03/2012 11:41, Srinath C a écrit : Always use a different local

Re: Maven concurrent builds

2012-03-07 Thread Lyons, Roy
Message - From: Jörg Schaible joerg.schai...@scalaris.com To: users@maven.apache.org users@maven.apache.org Sent: Wed Mar 07 02:29:41 2012 Subject: Re: Maven concurrent builds Hi Guillaume, Guillaume Polet wrote: Dear all, I was having some doubts regarding Maven's ability to handle properly

Re: Maven concurrent builds

2012-03-07 Thread Jörg Schaible
Guillaume Polet wrote: OK, good to know. Somehow, I always assumed that Maven was actually handling concurrency safely. Too bad that we have to waste extra space to handle this, but at least there are easy workarounds. If you use a repository manager in your intranet, you may simple wipe the

Re: Maven concurrent builds

2012-03-07 Thread Guillaume Polet
Le 7/03/2012 13:52, Jörg Schaible a écrit : Guillaume Polet wrote: OK, good to know. Somehow, I always assumed that Maven was actually handling concurrency safely. Too bad that we have to waste extra space to handle this, but at least there are easy workarounds. If you use a repository

Re: Maven concurrent builds

2012-03-07 Thread Michael Haefele
Jenkins also has a setting Use private Maven repository in the build section of the job configuration which takes care of this for you. Mike On Wed, Mar 7, 2012 at 5:41 AM, Srinath C srinat...@gmail.com wrote: Always use a different local repositories for different projects in Jenkins. You can

Re: Maven concurrent builds

2012-03-07 Thread Guillaume Polet
Yeah, I just found out about this but it is in an advanced hidden by default panel. I checked it for all my builds that could interfere with each other. Seems kind of strange that this is not more obvious as not checking it results unpredictable behaviour. Sorry to the ML-users as this is

Maven concurrent builds Was: RE: [PLEASE TEST] Maven 2.1.0-M1-RC17

2008-09-10 Thread Chris Schmidt
Thanks for the information. I'll keep tabs on the feature. In the meantime, using the local repository command may be the answer I need to build under the same user account for multiple concurrent builds. Thanks, Chris -Original Message- From: Brett Porter [mailto:[EMAIL