I will try with this. This might work.


Muralidhar Y
Software Engineer,
Adastrum technologies-Nikai groups,
EmiratesGroup-I.T Division,
Dubai, UAE.
Mobile : 00971-50-2256149.
http://www.adastrumtech.com
http://www.mercator.aero  
(Keep Smiling. Be happy All The Time.)

-----Original Message-----
From: Graham King [mailto:[EMAIL PROTECTED] 
Sent: 06 October 2005 19:01
To: Maven Users List
Subject: Re: Facing trouble in setting local maven

  Muralidhar,

  By default Maven will create its local repository in your home directory.
On Windows this will be C:\Document And Settings\[you username]\.

  To use a different directory, your need to set maven.home.local.
  See here for more details: 
http://maven.apache.org/reference/properties.html

  For example create a file called 'build.properties' in your home
directory, and put this in it:

maven.home.local=C:\\maven\\repository

  All the best,
  Graham.


Muralidhar Y. wrote:
> Hi I am facing a problem in setting maven local repository on my 
> machine. I have downloaded maven1.0 and set the path to bin and also 
> set the class path to lib folder. Now I crated a maven/repository on 
> my local hard drive. When I try to compile one maven project instead 
> of looking into local maven repository  it directly tries to download 
> from internet sites. How do I say maven not to download from websites 
> when they are present in my local repository and to look into local maven
repository for desired dependencies.
> 
> 
> Muralidhar Y
> Software Engineer,
> Adastrum technologies-Nikai groups,
> EmiratesGroup-I.T Division,
> Dubai, UAE.
> Mobile : 00971-50-2256149.
> http://www.adastrumtech.com <http://www.adastrumtech.com> 
> http://www.mercator.aero <http://www.mercator.aero>   
> (Keep Smiling. Be happy All The Time.)
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to