yes, change the location of your local repository in settings.xml On 3/4/06, Artamonov, Juri <[EMAIL PROTECTED]> wrote: > > >but all resources go to your local repository: home/.m2 unless > overriden in settings.xml. > > Is there any way to tell maven to download jars to folder I want, not > home/.m2 and specify this in pom.xml not in settings.xml? > > Thanks in advance, > Juri. > > -----Original Message----- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Sergio Carabetta > Sent: Friday, March 03, 2006 7:21 PM > To: [email protected] > Subject: Re: Repository specifying > > > Artamonov, Juri <jartamonov <at> fusionone.com> writes: > > > > > 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. > > > > > That section of the pom.xml is for telling maven where to look for > plugins or > jars (other than the default one ibiblio.org), but all resources go to > your > local repository: home/.m2 unless overriden in settings.xml. > > Maven will pick up the right resources from a shared, local repository > (after > downloading what may be missing) so you don't have to worry about > duplicating > plugins and jars in every project. > > Hope this helps. > > Sergio > > > > --------------------------------------------------------------------- > 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] > >
-- Miguel Griffa Skype: miguel.griffa Y!: m_griffa MSN: [EMAIL PROTECTED] Cell: 15-62519355
