Hey Roy, It cannot handle multiple download or even parallel builds.
Look into this proposal: http://docs.codehaus.org/display/MAVEN/Local+repository+separation It is not implemented and nobody knows if it will be implemented. There was discussion on dev group about this proposal - you can find it - if you want to know more. I'm afraid you have to create multiple local repositories. You may have local "mirror" repository to avoid multiple downloads problem. Piotr Tabor Kurt Roy pisze: > Hello, > > > > We are integrating some new software being built by Maven with our main > software being built with ant. We are using the Maven ant lib ant tasks > to copy jars from the Maven repository into the local ant build > environment. > > > > Our automated build system runs all builds from one UNIX user id whose > home is on one shared drive. Every night, our build system can have up > to 4 or 5 builds running concurrently under this one user id on the same > or different machines (we are building about 20 different products every > night that share many reusable components). > > > > My question is this: > > > > Can all these builds share the SAME default Maven local repository > stored in the one UNIX user id's home directory? I assume for reads this > is not a problem. But what if two (or three) separate processes start > downloading the same artifact to the local repository at the same time? > Is this supported? > > > > I realize that the Maven ant lib ant tasks have the ability to point to > a local repository (<artifact:localRepository ... />), where I can > construct a unique repository "path" from ant properties. However, with > this approach, there will be a lot of duplication of artifacts being > downloaded. This will have a negative performance impact, not to mention > taking up more disk space. > > > > Using the one default local repository is simple, and will perform the > best. I am just not sure if local repository can handle concurrent > downloads of the same artifacts. > > > > Thanks for your support. > > Kurt Roy | PROS | Software Architect, Software Development > phone: +1 713-335-8007 | email: [EMAIL PROTECTED] > > Save the Date for the 14th Annual PROS Summit * April 20-23, 2008 at the > Hilton Americas Hotel in Houston, Texas * www.prospricing.com > <http://www.prospricing.com/> > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]