Hello,

What you want to set is the location of your local repository.
It is set using the <localRepository> element of your settings.xml

Your setting.xml is located in ~/.m2/settings.xml (by default)

For an example of this kind of file, please check in your installation of
maven2 ther is one sample file.

I hope this will help

Regards,

Raphaël

some usefull links :
http://maven.apache.org/maven-settings/settings.html
http://maven.apache.org/guides/mini/guide-multiple-repositories.html


2006/3/3, Artamonov, Juri <[EMAIL PROTECTED]>:
>
> Hi All,
>
> Could you please tell how correctly specify maven in project's pom to
> download and use for the build plugins from my repository.
>
> I tried to specify in pom.xml to download only to folder were pom file
> is exists
>
> <repositories>
>     <repository>
>       <id>1</id>
>       <url>file:../repository</url>
>     </repository>
>   </repositories>
>
> but anyway maven always downloads to home/.m2 folder
>
> Thanks,
>                 Juri.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to