> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 28. februar 2003 06:25 > To: Turbine Maven Users List > Subject: Re: Maven in a read-only SCM > > > <[EMAIL PROTECTED]> wrote on 26/02/2003 11:02:34 PM: > > > I'm about to roll out Maven as *the* build tool for a large company > > that uses ClearCase. We have to store Maven (core + plugins) in > > ClearCase, and that brings up some problems: > > > > For the users, ClearCase behaves as a read-only file system. Plain > > users will not be able to modify or create files in the place where we > > plan to store Maven (in a ClearCase VOB). > > > > I have been able to hack the driver.properties file so that the local > > repository is built on the regular hard drive of each developer's > > machine, and not next to the plugins dir. Something like this: > > > > c:\ > > +--maven > > +--repository > > > > z:\ (ClearCase) > > +--maven > > +--plugins > Just a quick and simple question. Rather than hacking driver.properties, > couldn't you set the project.properties to have > maven.repo.local=c:/maven/repository? >
Sure I could. Or rather - every single project in this big company where I'm rolling out Maven could do that. I did the change in driver.properties (inside maven.jar) to save them the pain. In this Maven installation (which lives in ClearCase and is read-only to most people) I also changed maven.build.dir in driver.properties to point to the harddisk (and not relative to where the project's sources are). For those of you who don't know ClearCase: It's like a virtual file system. -And sometimes this file system is read-only (depending on your credentials). Therefore it's sometimes necessary to avoid writing ANYTHING to the file system where Maven or the project lives. It would be nice if you could keep this in the back of your head. (Just imagine that it should be possible to burn Maven and a project that uses it on a CD-ROM and still be able to build). Final word: I hate ClearCase and I love Maven! Aslak > -- > dIon Gillard, Multitask Consulting > Blog: http://www.freeroller.net/page/dion/Weblog > Work: http://www.multitask.com.au > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
