I think maven.home.local sets to the environment variable (if found) MAVEN_HOME_LOCAL, otherwise it builds it off of ${user.home}. This is why on windows systems you so often see "Documents and Settings" in the path -- spaces in the path in certain plugins can cause problems, parsing with whitespace as a separator and all that. If multiple people are logging in to the same system but using the same maven, then each person will get their own copy of the repository in their ${user.home}/repository, unless the maven installation is informed of where it should be.
If for example you: set MAVEN_HOME_LOCAL=C:\mavenrepository in a common autoexec.bat, each user who uses maven will share that same repository. I really stress avoiding spaces in your directories and paths -- I spent enough time learning that one :-) Kevin ----- Original Message ----- From: "Gilles Dodinet" <[EMAIL PROTECTED]> To: "Maven Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 12:36 PM Subject: Re: Réf. : Newbie:how to change .maven's location > harden, > > maven.home.local refers to the local maven installation, not the plugin > dir (which is maven.plugin.dir), per maven reference > (http://maven.apache.org/reference/user-guide.html#Behavioural Properties). > > Also, as khote pointed it (in some other way)i think that you dont need > to specify both maven.home and maven.repo.local. maven.repo.local should > default to ${maven.home.local}/repository and so on for the plugins. > someone please correct me if im somewhat wrong. > > -- gd > > > > [EMAIL PROTECTED] wrote: > > > > > > >>When I run "maven site:generate", all the plugin/repository files > >>will be download to my "C:\WINNT\Profiles\Administrator". > >>Is there maven config file that change to some other place? > >> > >> > > > > > >you should set the maven variables : > > > >for the plugins : maven.home.local > >for the repository : maven.repo.local > > > > > > > >a good way to do this seems to put a "build.properties" file in your > > profile directory (C:\WINNT\Profiles\Administrator in your case) > > with this kind of content : > > > > > >maven.repo.local=${maven.home}/repository > > > >maven.home.local=${maven.home}/plugons > > > > > > > > > >This message and any attachments (the "message") is intended solely for the addressees and is confidential. > >If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with > >its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. > >The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not > >therefore be liable for the message if modified. > > > > --------------------------------------------- > > > >Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses > >destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir > >immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion > >ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas > >d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce > >message, dans l'hypothese ou il aurait ete modifie. > > > > > >--------------------------------------------------------------------- > >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]