Re: Defining common localRepository that will work on both Windows and linux

2011-03-23 Thread Baptiste MATHUS
Another simple solution we use: define environment variable, and set value accordingly. ${env.M2_REPO} Then just set this env variable correctly, depending on the system it's running on. But the settings.xml can always be the same. We use this technique to be able to have the same settings.xml be

Re: Defining common localRepository that will work on both Windows and linux

2011-03-22 Thread Wayne Fay
> My settings file in the .m2 folder begins like this- > C:\maven-repo\ > > I want to make this generic and define a common localRepository which will > work both on Windows and on Linux. Please help. If you drop the C:\ and just specify a path, it will be common to both Windows and Linux. I am pr

Defining common localRepository that will work on both Windows and linux

2011-03-22 Thread Ritika.Goel
Hi, My settings file in the .m2 folder begins like this- C:\maven-repo\ I want to make this generic and define a common localRepository which will work both on Windows and on Linux. Please help. Thanks, Ritika Goel Equities Connectivity and Futures Barclays Capital (212) 320-7356 _