This is telling the pom where to look for the repository.  If you want
to tell maven where to store it's local repository, use the
localrepository settings in the settings.xml:

<localRepository>some\path\you'd\like</localRepository>

-----Original Message-----
From: Tim Kettler [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 11, 2006 10:46 AM
To: Maven Users List
Subject: Re: [m2] How to configure the local repository

Are you talking about your local repository or a repository you want to
put 3d-party 
libraries for your project in that you want under version control
together with your project?

If the latter. I think (never tried myself) you can just define a
repository in your 
pom.xml like this:

<project>

...

   <repositories>
     <repository>
       <id>myrepo</id>
       <name>reponame</name>
       <url>file://${basedir}/repository</url>
     </repository>
   </repositories>
</project>

-Tim


Tung Nguyen schrieb:
> Hi everybody,
> 
> I'm contrained to place the repository of maven in the same folder of
my projet but I can't figure out how to do that. I tried to place the
settings.xml in the project folder (with the pom.xml) but it doesn't
work.
> 
> Anyone can help ? 
> Thank you in advance
> 
> 
> 
> ---------------------------------------------------------------------
> 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]


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

Reply via email to